home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Grolier Multimedia Encyclopedia 1998
/
1998 Grolier Multimedia Encyclopedia (Grolier Interactive)(1997).iso
/
Install GME98
/
Install GME98.rsrc
/
bin.rsrc_CODE_3_Engine.txt
< prev
next >
Wrap
Text File
|
1997-08-13
|
520KB
|
9,528 lines
# near model CODE resource
# jump table entries: 64800-64833 (34 of them)
00000000 FFFF .extension 0xFFF // unimplemented
00000002 FD20 .extension 0xD20 // unimplemented
00000004 0000 5FDA ori.b D0, 0xDA
fn00000008:
00000008 48E7 1820 movem.l -[A7], D3,D4,A2
0000000C 4FEF FFF0 lea.l A7, [A7 - 0x10]
00000010 246F 0020 movea.l A2, [A7 + 0x20]
00000014 7841 moveq.l D4, 0x41
00000016 6016 bra +0x18 /* 0000002E */
label00000018:
00000018 0C04 00FE cmpi.b D4, 0xFE
0000001C 6604 bne +0x6 /* 00000022 */
0000001E 70D0 moveq.l D0, 0xFFFFFFD0
00000020 6032 bra +0x34 /* 00000054 */
label00000022:
00000022 7000 moveq.l D0, 0x00
00000024 102A 0006 move.b D0, [A2 + 0x6]
00000028 1584 0006 move.b [A2 + D0.w + 0x6], D4
0000002C 5204 addq.b D4, 1
label0000002E:
0000002E 554F subq.w A7, 2
00000030 3F12 move.w -[A7], [A2]
00000032 2F2A 0002 move.l -[A7], [A2 + 0x2]
00000036 486A 0006 pea.l [A2 + 0x6]
0000003A 486F 000C pea.l [A7 + 0xC]
0000003E 4EAD FFB8 jsr [A5 - 0x48]
00000042 301F move.w D0, [A7]+
00000044 3600 move.w D3, D0
00000046 4A40 tst.w D0
00000048 67CE beq -0x30 /* 00000018 */
0000004A 0C43 FFD5 cmpi.w D3, 0xFFD5
0000004E 6602 bne +0x4 /* 00000052 */
00000050 7600 moveq.l D3, 0x00
label00000052:
00000052 3003 move.w D0, D3
label00000054:
00000054 4FEF 0010 lea.l A7, [A7 + 0x10]
00000058 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000005C 4E75 rts
fn0000005E:
0000005E 2F03 move.l -[A7], D3
00000060 4FEF FF86 lea.l A7, [A7 - 0x7A]
00000064 162F 008C move.b D3, [A7 + 0x8C]
00000068 2F6F 0088 0012 move.l [A7 + 0x12], [A7 + 0x88]
0000006E 3F6F 0082 0016 move.w [A7 + 0x16], [A7 + 0x82]
00000074 2F6F 0084 0030 move.l [A7 + 0x30], [A7 + 0x84]
0000007A 422F 001F clr.b [A7 + 0x1F]
0000007E 422F 001A clr.b [A7 + 0x1A]
00000082 4A03 tst.b D3
00000084 6606 bne +0x8 /* 0000008C */
00000086 41D7 lea.l A0, [A7]
00000088 A242 syscall RstFilLock/PBHRstFLock/HRstFLock, flags=2
0000008A 3600 move.w D3, D0
label0000008C:
0000008C 41D7 lea.l A0, [A7]
0000008E A209 syscall Delete/PBHDelete/HDelete, flags=2
00000090 3600 move.w D3, D0
00000092 3003 move.w D0, D3
00000094 4FEF 007A lea.l A7, [A7 + 0x7A]
00000098 261F move.l D3, [A7]+
0000009A 4E75 rts
fn0000009C:
0000009C 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
000000A0 5D4F subq.w A7, 6
000000A2 3C2F 0022 move.w D6, [A7 + 0x22]
000000A6 2A2F 0024 move.l D5, [A7 + 0x24]
000000AA 266F 0028 movea.l A3, [A7 + 0x28]
000000AE 382F 002C move.w D4, [A7 + 0x2C]
000000B2 7600 moveq.l D3, 0x00
000000B4 426F 0004 clr.w [A7 + 0x4]
000000B8 4A43 tst.w D3
000000BA 6642 bne +0x44 /* 000000FE */
000000BC 0C44 0001 cmpi.w D4, 0x1
000000C0 661A bne +0x1C /* 000000DC */
000000C2 486F 0004 pea.l [A7 + 0x4]
000000C6 1F3C 0001 move.b -[A7], 0x1
000000CA 2F0B move.l -[A7], A3
000000CC 2F05 move.l -[A7], D5
000000CE 3F06 move.w -[A7], D6
000000D0 4EBA 0DE4 jsr [PC + 0xDE4 /* 00000EB6 */]
000000D4 3600 move.w D3, D0
000000D6 4FEF 0010 lea.l A7, [A7 + 0x10]
000000DA 6022 bra +0x24 /* 000000FE */
label000000DC:
000000DC 0C44 0002 cmpi.w D4, 0x2
000000E0 661A bne +0x1C /* 000000FC */
000000E2 486F 0004 pea.l [A7 + 0x4]
000000E6 1F3C 0001 move.b -[A7], 0x1
000000EA 2F0B move.l -[A7], A3
000000EC 2F05 move.l -[A7], D5
000000EE 3F06 move.w -[A7], D6
000000F0 4EBA 0E0A jsr [PC + 0xE0A /* 00000EFC */]
000000F4 3600 move.w D3, D0
000000F6 4FEF 0010 lea.l A7, [A7 + 0x10]
000000FA 6002 bra +0x4 /* 000000FE */
label000000FC:
000000FC 76FF moveq.l D3, 0xFFFFFFFF
label000000FE:
000000FE 4A43 tst.w D3
00000100 6668 bne +0x6A /* 0000016A */
00000102 203C 0000 2000 move.l D0, 0x2000 /* ' \0' */
00000108 A11E syscall NewPtr, flags=1
0000010A 2448 movea.l A2, A0
0000010C 554F subq.w A7, 2
0000010E 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000112 301F move.w D0, [A7]+
00000114 3600 move.w D3, D0
00000116 6052 bra +0x54 /* 0000016A */
label00000118:
00000118 4AAD E8A2 tst.l [A5 - 0x175E]
0000011C 670A beq +0xC /* 00000128 */
0000011E 206D E8A2 movea.l A0, [A5 - 0x175E]
00000122 4E90 jsr [A0]
00000124 4A00 tst.b D0
00000126 6640 bne +0x42 /* 00000168 */
label00000128:
00000128 2EBC 0000 2000 move.l [A7], 0x2000 /* ' \0' */
0000012E 554F subq.w A7, 2
00000130 3F2F 0006 move.w -[A7], [A7 + 0x6]
00000134 486F 0004 pea.l [A7 + 0x4]
00000138 2F0A move.l -[A7], A2
0000013A 4EAD FEE0 jsr [A5 - 0x120]
0000013E 301F move.w D0, [A7]+
00000140 3600 move.w D3, D0
00000142 0C43 FFD9 cmpi.w D3, 0xFFD9
00000146 6606 bne +0x8 /* 0000014E */
00000148 4A97 tst.l [A7]
0000014A 6F02 ble +0x4 /* 0000014E */
0000014C 7600 moveq.l D3, 0x00
label0000014E:
0000014E 4A43 tst.w D3
00000150 6618 bne +0x1A /* 0000016A */
00000152 554F subq.w A7, 2
00000154 3F2F 0030 move.w -[A7], [A7 + 0x30]
00000158 486F 0004 pea.l [A7 + 0x4]
0000015C 2F0A move.l -[A7], A2
0000015E 4EAD FEE8 jsr [A5 - 0x118]
00000162 301F move.w D0, [A7]+
00000164 3600 move.w D3, D0
00000166 6002 bra +0x4 /* 0000016A */
label00000168:
00000168 7601 moveq.l D3, 0x01
label0000016A:
0000016A 4A43 tst.w D3
0000016C 67AA beq -0x54 /* 00000118 */
0000016E 0C43 FFD9 cmpi.w D3, 0xFFD9
00000172 6602 bne +0x4 /* 00000176 */
00000174 7600 moveq.l D3, 0x00
label00000176:
00000176 200A move.l D0, A2
00000178 6704 beq +0x6 /* 0000017E */
0000017A 204A movea.l A0, A2
0000017C A01F syscall DisposPtr/DisposePtr
label0000017E:
0000017E 4A6F 0004 tst.w [A7 + 0x4]
00000182 670C beq +0xE /* 00000190 */
00000184 554F subq.w A7, 2
00000186 3F2F 0006 move.w -[A7], [A7 + 0x6]
0000018A 4EAD FED8 jsr [A5 - 0x128]
0000018E 301F move.w D0, [A7]+
label00000190:
00000190 3003 move.w D0, D3
00000192 5C4F addq.w A7, 6
00000194 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00000198 4E75 rts
fn0000019A:
0000019A 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000019E 4FEF FF76 lea.l A7, [A7 - 0x8A]
000001A2 286F 00B0 movea.l A4, [A7 + 0xB0]
000001A6 266F 00B4 movea.l A3, [A7 + 0xB4]
000001AA 382F 00B8 move.w D4, [A7 + 0xB8]
000001AE 2A2F 00BA move.l D5, [A7 + 0xBA]
000001B2 246F 00BE movea.l A2, [A7 + 0xBE]
000001B6 7600 moveq.l D3, 0x00
000001B8 7E00 moveq.l D7, 0x00
000001BA 7C00 moveq.l D6, 0x00
000001BC 426F 000C clr.w [A7 + 0xC]
000001C0 426F 000E clr.w [A7 + 0xE]
000001C4 4A43 tst.w D3
000001C6 6622 bne +0x24 /* 000001EA */
000001C8 3F6F 00AE 0026 move.w [A7 + 0x26], [A7 + 0xAE]
000001CE 2F4C 0040 move.l [A7 + 0x40], A4
000001D2 2F4B 0022 move.l [A7 + 0x22], A3
000001D6 422F 002F clr.b [A7 + 0x2F]
000001DA 422F 002A clr.b [A7 + 0x2A]
000001DE 426F 002C clr.w [A7 + 0x2C]
000001E2 41EF 0010 lea.l A0, [A7 + 0x10]
000001E6 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
000001E8 3600 move.w D3, D0
label000001EA:
000001EA 4A43 tst.w D3
000001EC 6614 bne +0x16 /* 00000202 */
000001EE 102F 002E move.b D0, [A7 + 0x2E]
000001F2 7201 moveq.l D1, 0x01
000001F4 C081 and.l D0, D1
000001F6 4A80 tst.l D0
000001F8 6604 bne +0x6 /* 000001FE */
000001FA 7000 moveq.l D0, 0x00
000001FC 6002 bra +0x4 /* 00000200 */
label000001FE:
000001FE 7001 moveq.l D0, 0x01
label00000200:
00000200 1E00 move.b D7, D0
label00000202:
00000202 4A43 tst.w D3
00000204 6618 bne +0x1A /* 0000021E */
00000206 554F subq.w A7, 2
00000208 3F04 move.w -[A7], D4
0000020A 2F05 move.l -[A7], D5
0000020C 2F0A move.l -[A7], A2
0000020E 2F2F 0040 move.l -[A7], [A7 + 0x40]
00000212 2F2F 0040 move.l -[A7], [A7 + 0x40]
00000216 4EAD FFA0 jsr [A5 - 0x60]
0000021A 301F move.w D0, [A7]+
0000021C 3600 move.w D3, D0
label0000021E:
0000021E 4A43 tst.w D3
00000220 6618 bne +0x1A /* 0000023A */
00000222 486F 000E pea.l [A7 + 0xE]
00000226 1F3C 0002 move.b -[A7], 0x2
0000022A 2F0A move.l -[A7], A2
0000022C 2F05 move.l -[A7], D5
0000022E 3F04 move.w -[A7], D4
00000230 4EBA 0C84 jsr [PC + 0xC84 /* 00000EB6 */]
00000234 3600 move.w D3, D0
00000236 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000023A:
0000023A 4A43 tst.w D3
0000023C 6618 bne +0x1A /* 00000256 */
0000023E 486F 000C pea.l [A7 + 0xC]
00000242 1F3C 0002 move.b -[A7], 0x2
00000246 2F0A move.l -[A7], A2
00000248 2F05 move.l -[A7], D5
0000024A 3F04 move.w -[A7], D4
0000024C 4EBA 0CAE jsr [PC + 0xCAE /* 00000EFC */]
00000250 3600 move.w D3, D0
00000252 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000256:
00000256 4A43 tst.w D3
00000258 661A bne +0x1C /* 00000274 */
0000025A 3F2F 000E move.w -[A7], [A7 + 0xE]
0000025E 3F3C 0001 move.w -[A7], 0x1
00000262 2F0B move.l -[A7], A3
00000264 2F0C move.l -[A7], A4
00000266 3F2F 00BA move.w -[A7], [A7 + 0xBA]
0000026A 4EBA FE30 jsr [PC - 0x1D0 /* 0000009C */]
0000026E 3600 move.w D3, D0
00000270 4FEF 000E lea.l A7, [A7 + 0xE]
label00000274:
00000274 4A43 tst.w D3
00000276 661A bne +0x1C /* 00000292 */
00000278 3F2F 000C move.w -[A7], [A7 + 0xC]
0000027C 3F3C 0002 move.w -[A7], 0x2
00000280 2F0B move.l -[A7], A3
00000282 2F0C move.l -[A7], A4
00000284 3F2F 00BA move.w -[A7], [A7 + 0xBA]
00000288 4EBA FE12 jsr [PC - 0x1EE /* 0000009C */]
0000028C 3600 move.w D3, D0
0000028E 4FEF 000E lea.l A7, [A7 + 0xE]
label00000292:
00000292 4A43 tst.w D3
00000294 666C bne +0x6E /* 00000302 */
00000296 3F44 0026 move.w [A7 + 0x26], D4
0000029A 2F45 0040 move.l [A7 + 0x40], D5
0000029E 2F4A 0022 move.l [A7 + 0x22], A2
000002A2 422F 002F clr.b [A7 + 0x2F]
000002A6 422F 002A clr.b [A7 + 0x2A]
000002AA 426F 002C clr.w [A7 + 0x2C]
000002AE 4A2F 00C2 tst.b [A7 + 0xC2]
000002B2 6734 beq +0x36 /* 000002E8 */
000002B4 2F6F 00C4 0008 move.l [A7 + 0x8], [A7 + 0xC4]
000002BA 2EAD F872 move.l [A7], [A5 - 0x78E]
000002BE 2F6D F876 0004 move.l [A7 + 0x4], [A5 - 0x78A]
000002C4 554F subq.w A7, 2
000002C6 2F2F 000A move.l -[A7], [A7 + 0xA]
000002CA 486F 0006 pea.l [A7 + 0x6]
000002CE A8AD syscall PtInRect
000002D0 101F move.b D0, [A7]+
000002D2 670C beq +0xE /* 000002E0 */
000002D4 066F 4E20 0008 addi.w [A7 + 0x8], 0x4E20 /* 'N ' */
000002DA 066F 4E20 000A addi.w [A7 + 0xA], 0x4E20 /* 'N ' */
label000002E0:
000002E0 2F6F 0008 003A move.l [A7 + 0x3A], [A7 + 0x8]
000002E6 600C bra +0xE /* 000002F4 */
label000002E8:
000002E8 3F7C FFFF 003A move.w [A7 + 0x3A], 0xFFFF
000002EE 3F7C FFFF 003C move.w [A7 + 0x3C], 0xFFFF
label000002F4:
000002F4 006F 0100 0038 ori.w [A7 + 0x38], 0x100
000002FA 41EF 0010 lea.l A0, [A7 + 0x10]
000002FE A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00000300 3600 move.w D3, D0
label00000302:
00000302 4A6F 000C tst.w [A7 + 0xC]
00000306 670C beq +0xE /* 00000314 */
00000308 554F subq.w A7, 2
0000030A 3F2F 000E move.w -[A7], [A7 + 0xE]
0000030E 4EAD FED8 jsr [A5 - 0x128]
00000312 301F move.w D0, [A7]+
label00000314:
00000314 4A6F 000E tst.w [A7 + 0xE]
00000318 670C beq +0xE /* 00000326 */
0000031A 554F subq.w A7, 2
0000031C 3F2F 0010 move.w -[A7], [A7 + 0x10]
00000320 4EAD FED8 jsr [A5 - 0x128]
00000324 301F move.w D0, [A7]+
label00000326:
00000326 4A43 tst.w D3
00000328 6638 bne +0x3A /* 00000362 */
0000032A 082F 0005 0038 btst.b [A7 + 0x38], 0x5
00000330 672E beq +0x30 /* 00000360 */
00000332 3F04 move.w -[A7], D4
00000334 4EBA 09B2 jsr [PC + 0x9B2 /* 00000CE8 */]
00000338 4A00 tst.b D0
0000033A 544F addq.w A7, 2
0000033C 6724 beq +0x26 /* 00000362 */
0000033E 2F2F 0034 move.l -[A7], [A7 + 0x34]
00000342 2F2F 0034 move.l -[A7], [A7 + 0x34]
00000346 2F0A move.l -[A7], A2
00000348 2F05 move.l -[A7], D5
0000034A 3F04 move.w -[A7], D4
0000034C 4EBA 09EC jsr [PC + 0x9EC /* 00000D3A */]
00000350 3600 move.w D3, D0
00000352 4A43 tst.w D3
00000354 4FEF 0012 lea.l A7, [A7 + 0x12]
00000358 6602 bne +0x4 /* 0000035C */
0000035A 7C01 moveq.l D6, 0x01
label0000035C:
0000035C 7600 moveq.l D3, 0x00
0000035E 6002 bra +0x4 /* 00000362 */
label00000360:
00000360 7C01 moveq.l D6, 0x01
label00000362:
00000362 4A43 tst.w D3
00000364 662A bne +0x2C /* 00000390 */
00000366 3F44 0026 move.w [A7 + 0x26], D4
0000036A 2F45 0040 move.l [A7 + 0x40], D5
0000036E 2F4A 0022 move.l [A7 + 0x22], A2
00000372 422F 002F clr.b [A7 + 0x2F]
00000376 422F 002A clr.b [A7 + 0x2A]
0000037A 426F 002C clr.w [A7 + 0x2C]
0000037E 4A06 tst.b D6
00000380 6606 bne +0x8 /* 00000388 */
00000382 026F FEFF 0038 andi.w [A7 + 0x38], 0xFEFF
label00000388:
00000388 41EF 0010 lea.l A0, [A7 + 0x10]
0000038C A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
0000038E 3600 move.w D3, D0
label00000390:
00000390 4A43 tst.w D3
00000392 6620 bne +0x22 /* 000003B4 */
00000394 4A07 tst.b D7
00000396 671C beq +0x1E /* 000003B4 */
00000398 3F44 0026 move.w [A7 + 0x26], D4
0000039C 2F45 0040 move.l [A7 + 0x40], D5
000003A0 2F4A 0022 move.l [A7 + 0x22], A2
000003A4 422F 002F clr.b [A7 + 0x2F]
000003A8 422F 002A clr.b [A7 + 0x2A]
000003AC 41EF 0010 lea.l A0, [A7 + 0x10]
000003B0 A241 syscall SetFilLock/PBHSetFLock/HSetFLock, flags=2
000003B2 3600 move.w D3, D0
label000003B4:
000003B4 554F subq.w A7, 2
000003B6 42A7 clr.l -[A7]
000003B8 3F04 move.w -[A7], D4
000003BA 4EAD FF10 jsr [A5 - 0xF0]
000003BE 301F move.w D0, [A7]+
000003C0 3003 move.w D0, D3
000003C2 4FEF 008A lea.l A7, [A7 + 0x8A]
000003C6 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000003CA 4E75 rts
fn000003CC:
000003CC 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
000003D0 3A2F 001E move.w D5, [A7 + 0x1E]
000003D4 282F 0020 move.l D4, [A7 + 0x20]
000003D8 246F 0024 movea.l A2, [A7 + 0x24]
000003DC 7600 moveq.l D3, 0x00
000003DE 2F0A move.l -[A7], A2
000003E0 2F04 move.l -[A7], D4
000003E2 3F05 move.w -[A7], D5
000003E4 4EBA 00C4 jsr [PC + 0xC4 /* 000004AA */]
000003E8 2F2F 0034 move.l -[A7], [A7 + 0x34]
000003EC 1F2F 0036 move.b -[A7], [A7 + 0x36]
000003F0 2F0A move.l -[A7], A2
000003F2 2F04 move.l -[A7], D4
000003F4 3F05 move.w -[A7], D5
000003F6 2F2F 0034 move.l -[A7], [A7 + 0x34]
000003FA 2F2F 0034 move.l -[A7], [A7 + 0x34]
000003FE 3F2F 0036 move.w -[A7], [A7 + 0x36]
00000402 4EBA FD96 jsr [PC - 0x26A /* 0000019A */]
00000406 3600 move.w D3, D0
00000408 3003 move.w D0, D3
0000040A 4FEF 0024 lea.l A7, [A7 + 0x24]
0000040E 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00000412 4E75 rts
fn00000414:
00000414 48E7 1C00 movem.l -[A7], D3,D4,D5
00000418 4FEF FFE0 lea.l A7, [A7 - 0x20]
0000041C 382F 0030 move.w D4, [A7 + 0x30]
00000420 2A2F 0032 move.l D5, [A7 + 0x32]
label00000424:
00000424 41D7 lea.l A0, [A7]
00000426 2B48 E848 move.l [A5 - 0x17B8], A0
0000042A 3B44 E84C move.w [A5 - 0x17B4], D4
0000042E 2B45 E866 move.l [A5 - 0x179A], D5
00000432 422D E850 clr.b [A5 - 0x17B0]
00000436 3B7C 0001 E852 move.w [A5 - 0x17AE], 0x1
0000043C 41ED E836 lea.l A0, [A5 - 0x17CA]
00000440 7009 moveq.l D0, 0x09
00000442 A260 syscall FSDispatch/HFSDispatch, flags=2
00000444 3600 move.w D3, D0
00000446 4A43 tst.w D3
00000448 6644 bne +0x46 /* 0000048E */
0000044A 102D E854 move.b D0, [A5 - 0x17AC]
0000044E 7210 moveq.l D1, 0x10
00000450 C081 and.l D0, D1
00000452 672A beq +0x2C /* 0000047E */
00000454 2F2D E866 move.l -[A7], [A5 - 0x179A]
00000458 3F04 move.w -[A7], D4
0000045A 4EBA FFB8 jsr [PC - 0x48 /* 00000414 */]
0000045E 3600 move.w D3, D0
00000460 4A43 tst.w D3
00000462 5C4F addq.w A7, 6
00000464 6628 bne +0x2A /* 0000048E */
00000466 1F3C 0001 move.b -[A7], 0x1
0000046A 486F 0002 pea.l [A7 + 0x2]
0000046E 2F05 move.l -[A7], D5
00000470 3F04 move.w -[A7], D4
00000472 4EBA FBEA jsr [PC - 0x416 /* 0000005E */]
00000476 3600 move.w D3, D0
00000478 4FEF 000C lea.l A7, [A7 + 0xC]
0000047C 6010 bra +0x12 /* 0000048E */
label0000047E:
0000047E 4857 pea.l [A7]
00000480 2F05 move.l -[A7], D5
00000482 3F04 move.w -[A7], D4
00000484 4EBA 003C jsr [PC + 0x3C /* 000004C2 */]
00000488 3600 move.w D3, D0
0000048A 4FEF 000A lea.l A7, [A7 + 0xA]
label0000048E:
0000048E 4A43 tst.w D3
00000490 6792 beq -0x6C /* 00000424 */
00000492 0C43 FFD5 cmpi.w D3, 0xFFD5
00000496 6706 beq +0x8 /* 0000049E */
00000498 3003 move.w D0, D3
0000049A 48C0 ext.l D0
0000049C 6002 bra +0x4 /* 000004A0 */
label0000049E:
0000049E 7000 moveq.l D0, 0x00
label000004A0:
000004A0 4FEF 0020 lea.l A7, [A7 + 0x20]
000004A4 4CDF 0038 movem.l D3,D4,D5, [A7]+
000004A8 4E75 rts
fn000004AA:
000004AA 4227 clr.b -[A7]
000004AC 2F2F 000C move.l -[A7], [A7 + 0xC]
000004B0 2F2F 000C move.l -[A7], [A7 + 0xC]
000004B4 3F2F 000E move.w -[A7], [A7 + 0xE]
000004B8 4EBA FBA4 jsr [PC - 0x45C /* 0000005E */]
000004BC 4FEF 000C lea.l A7, [A7 + 0xC]
000004C0 4E75 rts
fn000004C2:
000004C2 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
000004C6 3A2F 0014 move.w D5, [A7 + 0x14]
000004CA 282F 0016 move.l D4, [A7 + 0x16]
000004CE 246F 001A movea.l A2, [A7 + 0x1A]
000004D2 4227 clr.b -[A7]
000004D4 2F0A move.l -[A7], A2
000004D6 2F04 move.l -[A7], D4
000004D8 3F05 move.w -[A7], D5
000004DA 4EBA FB82 jsr [PC - 0x47E /* 0000005E */]
000004DE 3600 move.w D3, D0
000004E0 0C43 FFD1 cmpi.w D3, 0xFFD1
000004E4 4FEF 000C lea.l A7, [A7 + 0xC]
000004E8 6614 bne +0x16 /* 000004FE */
000004EA 2F0A move.l -[A7], A2
000004EC 2F04 move.l -[A7], D4
000004EE 3F05 move.w -[A7], D5
000004F0 4EBA 0100 jsr [PC + 0x100 /* 000005F2 */]
000004F4 4A40 tst.w D0
000004F6 4FEF 000A lea.l A7, [A7 + 0xA]
000004FA 6602 bne +0x4 /* 000004FE */
000004FC 7600 moveq.l D3, 0x00
label000004FE:
000004FE 3003 move.w D0, D3
00000500 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00000504 4E75 rts
fn00000506:
00000506 1F3C 0001 move.b -[A7], 0x1
0000050A 2F2F 000C move.l -[A7], [A7 + 0xC]
0000050E 2F2F 000C move.l -[A7], [A7 + 0xC]
00000512 3F2F 000E move.w -[A7], [A7 + 0xE]
00000516 4EBA FB46 jsr [PC - 0x4BA /* 0000005E */]
0000051A 4FEF 000C lea.l A7, [A7 + 0xC]
0000051E 4E75 rts
fn00000520:
00000520 2F03 move.l -[A7], D3
00000522 4FEF FFBA lea.l A7, [A7 - 0x46]
00000526 7600 moveq.l D3, 0x00
00000528 2B6F 0062 E8A2 move.l [A5 - 0x175E], [A7 + 0x62]
0000052E 4857 pea.l [A7]
00000530 486F 0044 pea.l [A7 + 0x44]
00000534 486F 004C pea.l [A7 + 0x4C]
00000538 2F2F 005A move.l -[A7], [A7 + 0x5A]
0000053C 4EBA 225A jsr [PC + 0x225A /* 00002798 */]
00000540 3600 move.w D3, D0
00000542 4A43 tst.w D3
00000544 4FEF 0010 lea.l A7, [A7 + 0x10]
00000548 662A bne +0x2C /* 00000574 */
0000054A 2F2F 005E move.l -[A7], [A7 + 0x5E]
0000054E 1F2F 0060 move.b -[A7], [A7 + 0x60]
00000552 2F2F 005E move.l -[A7], [A7 + 0x5E]
00000556 2F2F 005E move.l -[A7], [A7 + 0x5E]
0000055A 3F2F 0060 move.w -[A7], [A7 + 0x60]
0000055E 486F 0010 pea.l [A7 + 0x10]
00000562 2F2F 0054 move.l -[A7], [A7 + 0x54]
00000566 3F2F 005C move.w -[A7], [A7 + 0x5C]
0000056A 4EBA FE60 jsr [PC - 0x1A0 /* 000003CC */]
0000056E 3600 move.w D3, D0
00000570 4FEF 001A lea.l A7, [A7 + 0x1A]
label00000574:
00000574 42AD E8A2 clr.l [A5 - 0x175E]
00000578 3003 move.w D0, D3
0000057A 4FEF 0046 lea.l A7, [A7 + 0x46]
0000057E 261F move.l D3, [A7]+
00000580 4E75 rts
fn00000582:
00000582 2F03 move.l -[A7], D3
00000584 486D E8B4 pea.l [A5 - 0x174C]
00000588 486D E8B8 pea.l [A5 - 0x1748]
0000058C 4EBA 03E0 jsr [PC + 0x3E0 /* 0000096E */]
00000590 3600 move.w D3, D0
00000592 4A43 tst.w D3
00000594 504F addq.w A7, 8
00000596 6636 bne +0x38 /* 000005CE */
00000598 4EBA 0278 jsr [PC + 0x278 /* 00000812 */]
0000059C 4A00 tst.b D0
0000059E 6722 beq +0x24 /* 000005C2 */
000005A0 554F subq.w A7, 2
000005A2 3F2D E8B8 move.w -[A7], [A5 - 0x1748]
000005A6 2F3C 6578 746E move.l -[A7], 0x6578746E /* 'extn' */
000005AC 1F3C 0001 move.b -[A7], 0x1
000005B0 486D E8B2 pea.l [A5 - 0x174E]
000005B4 486D E8AE pea.l [A5 - 0x1752]
000005B8 4EAD FFE8 jsr [A5 - 0x18]
000005BC 301F move.w D0, [A7]+
000005BE 4A40 tst.w D0
000005C0 670C beq +0xE /* 000005CE */
label000005C2:
000005C2 3B6D E8B8 E8B2 move.w [A5 - 0x174E], [A5 - 0x1748]
000005C8 2B6D E8B4 E8AE move.l [A5 - 0x1752], [A5 - 0x174C]
label000005CE:
000005CE 42AD E8A6 clr.l [A5 - 0x175A]
000005D2 3003 move.w D0, D3
000005D4 261F move.l D3, [A7]+
000005D6 4E75 rts
fn000005D8:
000005D8 2F03 move.l -[A7], D3
000005DA 7600 moveq.l D3, 0x00
000005DC 4AAD E8A6 tst.l [A5 - 0x175A]
000005E0 6F0A ble +0xC /* 000005EC */
000005E2 4EBA 005A jsr [PC + 0x5A /* 0000063E */]
000005E6 3600 move.w D3, D0
000005E8 42AD E8A6 clr.l [A5 - 0x175A]
label000005EC:
000005EC 3003 move.w D0, D3
000005EE 261F move.l D3, [A7]+
000005F0 4E75 rts
fn000005F2:
000005F2 2F03 move.l -[A7], D3
000005F4 7600 moveq.l D3, 0x00
000005F6 302F 0008 move.w D0, [A7 + 0x8]
000005FA B06D E8B2 cmp.w D0, [A5 - 0x174E]
000005FE 6636 bne +0x38 /* 00000636 */
00000600 4A43 tst.w D3
00000602 6606 bne +0x8 /* 0000060A */
00000604 4EBA 01A6 jsr [PC + 0x1A6 /* 000007AC */]
00000608 3600 move.w D3, D0
label0000060A:
0000060A 4A43 tst.w D3
0000060C 661E bne +0x20 /* 0000062C */
0000060E 554F subq.w A7, 2
00000610 3F2F 000A move.w -[A7], [A7 + 0xA]
00000614 2F2F 000E move.l -[A7], [A7 + 0xE]
00000618 2F2F 0016 move.l -[A7], [A7 + 0x16]
0000061C 2F2D E8AA move.l -[A7], [A5 - 0x1756]
00000620 486D F8B2 pea.l [A5 - 0x74E]
00000624 4EAD FFC8 jsr [A5 - 0x38]
00000628 301F move.w D0, [A7]+
0000062A 3600 move.w D3, D0
label0000062C:
0000062C 4A43 tst.w D3
0000062E 6608 bne +0xA /* 00000638 */
00000630 52AD E8A6 addq.l [A5 - 0x175A], 1
00000634 6002 bra +0x4 /* 00000638 */
label00000636:
00000636 76FF moveq.l D3, 0xFFFFFFFF
label00000638:
00000638 3003 move.w D0, D3
0000063A 261F move.l D3, [A7]+
0000063C 4E75 rts
fn0000063E:
0000063E 48E7 1800 movem.l -[A7], D3,D4
00000642 514F subq.w A7, 8
00000644 7600 moveq.l D3, 0x00
00000646 78FF moveq.l D4, 0xFFFFFFFF
00000648 4A43 tst.w D3
0000064A 6622 bne +0x24 /* 0000066E */
0000064C 554F subq.w A7, 2
0000064E 3F2D E8B2 move.w -[A7], [A5 - 0x174E]
00000652 2F2D E8AE move.l -[A7], [A5 - 0x1752]
00000656 2F2D F892 move.l -[A7], [A5 - 0x76E]
0000065A 2F3C 5352 6179 move.l -[A7], 0x53526179 /* 'SRay' */
00000660 2F3C 494E 4954 move.l -[A7], 0x494E4954 /* 'INIT' */
00000666 4EAD FFA0 jsr [A5 - 0x60]
0000066A 301F move.w D0, [A7]+
0000066C 3600 move.w D3, D0
label0000066E:
0000066E 4A43 tst.w D3
00000670 6632 bne +0x34 /* 000006A4 */
00000672 3F2D E8B2 move.w -[A7], [A5 - 0x174E]
00000676 2F2D E8AE move.l -[A7], [A5 - 0x1752]
0000067A 2F2D F892 move.l -[A7], [A5 - 0x76E]
0000067E 4EAD FFE0 jsr [A5 - 0x20]
00000682 554F subq.w A7, 2
00000684 3F2D E8B2 move.w -[A7], [A5 - 0x174E]
00000688 2F2D E8AE move.l -[A7], [A5 - 0x1752]
0000068C 2F2D F892 move.l -[A7], [A5 - 0x76E]
00000690 1F3C 0003 move.b -[A7], 0x3
00000694 4EAD FFD8 jsr [A5 - 0x28]
00000698 301F move.w D0, [A7]+
0000069A 3800 move.w D4, D0
0000069C 554F subq.w A7, 2
0000069E A9AF syscall ResError
000006A0 301F move.w D0, [A7]+
000006A2 3600 move.w D3, D0
label000006A4:
000006A4 4A43 tst.w D3
000006A6 6676 bne +0x78 /* 0000071E */
000006A8 594F subq.w A7, 4
000006AA 2F3C 7043 6F64 move.l -[A7], 0x70436F64 /* 'pCod' */
000006B0 3F3C 03E8 move.w -[A7], 0x3E8
000006B4 A9A0 syscall GetResource
000006B6 205F movea.l A0, [A7]+
000006B8 2F48 0004 move.l [A7 + 0x4], A0
000006BC B0FC 0000 cmpa.w A0, 0x0
000006C0 6758 beq +0x5A /* 0000071A */
000006C2 554F subq.w A7, 2
000006C4 486F 0006 pea.l [A7 + 0x6]
000006C8 4EAD FF70 jsr [A5 - 0x90]
000006CC 301F move.w D0, [A7]+
000006CE 3600 move.w D3, D0
000006D0 4A43 tst.w D3
000006D2 661C bne +0x1E /* 000006F0 */
000006D4 2F2F 0004 move.l -[A7], [A7 + 0x4]
000006D8 2F3C 7043 6F64 move.l -[A7], 0x70436F64 /* 'pCod' */
000006DE 3F3C 03E8 move.w -[A7], 0x3E8
000006E2 2F2D F892 move.l -[A7], [A5 - 0x76E]
000006E6 A9AB syscall AddResource
000006E8 554F subq.w A7, 2
000006EA A9AF syscall ResError
000006EC 301F move.w D0, [A7]+
000006EE 3600 move.w D3, D0
label000006F0:
000006F0 4A43 tst.w D3
000006F2 660E bne +0x10 /* 00000702 */
000006F4 2F2F 0004 move.l -[A7], [A7 + 0x4]
000006F8 A9B0 syscall WriteResource
000006FA 554F subq.w A7, 2
000006FC A9AF syscall ResError
000006FE 301F move.w D0, [A7]+
00000700 3600 move.w D3, D0
label00000702:
00000702 4A43 tst.w D3
00000704 6618 bne +0x1A /* 0000071E */
00000706 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000070A 3F3C 0054 move.w -[A7], 0x54 /* 'T' */
0000070E A9A7 syscall SetResAttrs
00000710 554F subq.w A7, 2
00000712 A9AF syscall ResError
00000714 301F move.w D0, [A7]+
00000716 3600 move.w D3, D0
00000718 6004 bra +0x6 /* 0000071E */
label0000071A:
0000071A 363C FF40 move.w D3, 0xFF40
label0000071E:
0000071E 4A43 tst.w D3
00000720 666E bne +0x70 /* 00000790 */
00000722 594F subq.w A7, 4
00000724 2F3C 494E 4954 move.l -[A7], 0x494E4954 /* 'INIT' */
0000072A 3F3C 03E8 move.w -[A7], 0x3E8
0000072E A9A0 syscall GetResource
00000730 205F movea.l A0, [A7]+
00000732 2E88 move.l [A7], A0
00000734 B0FC 0000 cmpa.w A0, 0x0
00000738 6752 beq +0x54 /* 0000078C */
0000073A 554F subq.w A7, 2
0000073C 486F 0002 pea.l [A7 + 0x2]
00000740 4EAD FF70 jsr [A5 - 0x90]
00000744 301F move.w D0, [A7]+
00000746 3600 move.w D3, D0
00000748 4A43 tst.w D3
0000074A 661A bne +0x1C /* 00000766 */
0000074C 2F17 move.l -[A7], [A7]
0000074E 2F3C 494E 4954 move.l -[A7], 0x494E4954 /* 'INIT' */
00000754 3F3C 03E8 move.w -[A7], 0x3E8
00000758 2F2D F892 move.l -[A7], [A5 - 0x76E]
0000075C A9AB syscall AddResource
0000075E 554F subq.w A7, 2
00000760 A9AF syscall ResError
00000762 301F move.w D0, [A7]+
00000764 3600 move.w D3, D0
label00000766:
00000766 4A43 tst.w D3
00000768 660C bne +0xE /* 00000776 */
0000076A 2F17 move.l -[A7], [A7]
0000076C A9B0 syscall WriteResource
0000076E 554F subq.w A7, 2
00000770 A9AF syscall ResError
00000772 301F move.w D0, [A7]+
00000774 3600 move.w D3, D0
label00000776:
00000776 4A43 tst.w D3
00000778 6616 bne +0x18 /* 00000790 */
0000077A 2F17 move.l -[A7], [A7]
0000077C 3F3C 0014 move.w -[A7], 0x14
00000780 A9A7 syscall SetResAttrs
00000782 554F subq.w A7, 2
00000784 A9AF syscall ResError
00000786 301F move.w D0, [A7]+
00000788 3600 move.w D3, D0
0000078A 6004 bra +0x6 /* 00000790 */
label0000078C:
0000078C 363C FF40 move.w D3, 0xFF40
label00000790:
00000790 0C44 FFFF cmpi.w D4, 0xFFFF
00000794 6704 beq +0x6 /* 0000079A */
00000796 3F04 move.w -[A7], D4
00000798 A99A syscall CloseResFile
label0000079A:
0000079A 0C43 FFD0 cmpi.w D3, 0xFFD0
0000079E 6602 bne +0x4 /* 000007A2 */
000007A0 7600 moveq.l D3, 0x00
label000007A2:
000007A2 3003 move.w D0, D3
000007A4 504F addq.w A7, 8
000007A6 4CDF 0018 movem.l D3,D4, [A7]+
000007AA 4E75 rts
fn000007AC:
000007AC 2F03 move.l -[A7], D3
000007AE 4FEF FF74 lea.l A7, [A7 - 0x8C]
000007B2 7600 moveq.l D3, 0x00
000007B4 4A43 tst.w D3
000007B6 662A bne +0x2C /* 000007E2 */
000007B8 206D F8AE movea.l A0, [A5 - 0x752]
000007BC 43D7 lea.l A1, [A7]
000007BE 7020 moveq.l D0, 0x20
000007C0 A02E syscall BlockMove/BlockMoveData
000007C2 3F6D E8B2 0036 move.w [A7 + 0x36], [A5 - 0x174E]
000007C8 2F6D E8AE 0050 move.l [A7 + 0x50], [A5 - 0x1752]
000007CE 41D7 lea.l A0, [A7]
000007D0 2F48 0032 move.l [A7 + 0x32], A0
000007D4 426F 003C clr.w [A7 + 0x3C]
000007D8 41EF 0020 lea.l A0, [A7 + 0x20]
000007DC 7009 moveq.l D0, 0x09
000007DE A260 syscall FSDispatch/HFSDispatch, flags=2
000007E0 3600 move.w D3, D0
label000007E2:
000007E2 4A43 tst.w D3
000007E4 6608 bne +0xA /* 000007EE */
000007E6 2B6F 0050 E8AA move.l [A5 - 0x1756], [A7 + 0x50]
000007EC 601A bra +0x1C /* 00000808 */
label000007EE:
000007EE 554F subq.w A7, 2
000007F0 3F2D E8B2 move.w -[A7], [A5 - 0x174E]
000007F4 2F2D E8AE move.l -[A7], [A5 - 0x1752]
000007F8 2F2D F8AE move.l -[A7], [A5 - 0x752]
000007FC 486D E8AA pea.l [A5 - 0x1756]
00000800 4EAD FFA8 jsr [A5 - 0x58]
00000804 301F move.w D0, [A7]+
00000806 3600 move.w D3, D0
label00000808:
00000808 3003 move.w D0, D3
0000080A 4FEF 008C lea.l A7, [A7 + 0x8C]
0000080E 261F move.l D3, [A7]+
00000810 4E75 rts
fn00000812:
00000812 5D4F subq.w A7, 6
00000814 554F subq.w A7, 2
00000816 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
0000081C 486F 0008 pea.l [A7 + 0x8]
00000820 4EAD FEB0 jsr [A5 - 0x150]
00000824 301F move.w D0, [A7]+
00000826 3E80 move.w [A7], D0
00000828 4A40 tst.w D0
0000082A 660A bne +0xC /* 00000836 */
0000082C 7001 moveq.l D0, 0x01
0000082E C0AF 0002 and.l D0, [A7 + 0x2]
00000832 4A80 tst.l D0
00000834 6604 bne +0x6 /* 0000083A */
label00000836:
00000836 7000 moveq.l D0, 0x00
00000838 6002 bra +0x4 /* 0000083C */
label0000083A:
0000083A 7001 moveq.l D0, 0x01
label0000083C:
0000083C 5C4F addq.w A7, 6
0000083E 4E75 rts
fn00000840:
00000840 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00000844 286F 0014 movea.l A4, [A7 + 0x14]
00000848 362F 001A move.w D3, [A7 + 0x1A]
0000084C 0C43 0001 cmpi.w D3, 0x1
00000850 6D40 blt +0x42 /* 00000892 */
00000852 594F subq.w A7, 4
00000854 2F3C B64C 7073 move.l -[A7], 0xB64C7073
0000085A 3F2F 0020 move.w -[A7], [A7 + 0x20]
0000085E A9A0 syscall GetResource
00000860 205F movea.l A0, [A7]+
00000862 2648 movea.l A3, A0
00000864 200B move.l D0, A3
00000866 4A80 tst.l D0
00000868 6728 beq +0x2A /* 00000892 */
0000086A 2053 movea.l A0, [A3]
0000086C B650 cmp.w D3, [A0]
0000086E 6E22 bgt +0x24 /* 00000892 */
00000870 2453 movea.l A2, [A3]
00000872 548A addq.l A2, 2
00000874 6008 bra +0xA /* 0000087E */
label00000876:
00000876 7000 moveq.l D0, 0x00
00000878 1012 move.b D0, [A2]
0000087A 5280 addq.l D0, 1
0000087C D5C0 add.l A2, D0
label0000087E:
0000087E 5343 subq.w D3, 1
00000880 66F4 bne -0xA /* 00000876 */
00000882 204A movea.l A0, A2
00000884 224C movea.l A1, A4
00000886 7000 moveq.l D0, 0x00
00000888 1012 move.b D0, [A2]
0000088A 5280 addq.l D0, 1
0000088C A02E syscall BlockMove/BlockMoveData
0000088E 7001 moveq.l D0, 0x01
00000890 6004 bra +0x6 /* 00000896 */
label00000892:
00000892 4214 clr.b [A4]
00000894 7000 moveq.l D0, 0x00
label00000896:
00000896 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
0000089A 4E75 rts
fn0000089C:
0000089C 48E7 1038 movem.l -[A7], D3,A2,A3,A4
000008A0 286F 0014 movea.l A4, [A7 + 0x14]
000008A4 594F subq.w A7, 4
000008A6 2F3C 5354 526D move.l -[A7], 0x5354526D /* 'STRm' */
000008AC 3F2F 0020 move.w -[A7], [A7 + 0x20]
000008B0 A9A0 syscall GetResource
000008B2 205F movea.l A0, [A7]+
000008B4 2648 movea.l A3, A0
000008B6 200B move.l D0, A3
000008B8 4A80 tst.l D0
000008BA 6744 beq +0x46 /* 00000900 */
000008BC 2453 movea.l A2, [A3]
000008BE 548A addq.l A2, 2
000008C0 7600 moveq.l D3, 0x00
000008C2 6036 bra +0x38 /* 000008FA */
label000008C4:
000008C4 3012 move.w D0, [A2]
000008C6 B06F 001A cmp.w D0, [A7 + 0x1A]
000008CA 6614 bne +0x16 /* 000008E0 */
000008CC 41EA 0002 lea.l A0, [A2 + 0x2]
000008D0 224C movea.l A1, A4
000008D2 7000 moveq.l D0, 0x00
000008D4 102A 0002 move.b D0, [A2 + 0x2]
000008D8 5280 addq.l D0, 1
000008DA A02E syscall BlockMove/BlockMoveData
000008DC 7001 moveq.l D0, 0x01
000008DE 6024 bra +0x26 /* 00000904 */
label000008E0:
000008E0 7000 moveq.l D0, 0x00
000008E2 102A 0002 move.b D0, [A2 + 0x2]
000008E6 220A move.l D1, A2
000008E8 5681 addq.l D1, 3
000008EA D280 add.l D1, D0
000008EC 2441 movea.l A2, D1
000008EE 70FE moveq.l D0, 0xFFFFFFFE
000008F0 220A move.l D1, A2
000008F2 5281 addq.l D1, 1
000008F4 C280 and.l D1, D0
000008F6 2441 movea.l A2, D1
000008F8 5243 addq.w D3, 1
label000008FA:
000008FA 2053 movea.l A0, [A3]
000008FC B650 cmp.w D3, [A0]
000008FE 6DC4 blt -0x3A /* 000008C4 */
label00000900:
00000900 4214 clr.b [A4]
00000902 7000 moveq.l D0, 0x00
label00000904:
00000904 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00000908 4E75 rts
fn0000090A:
0000090A 48E7 1800 movem.l -[A7], D3,D4
0000090E 182F 000C move.b D4, [A7 + 0xC]
00000912 7600 moveq.l D3, 0x00
00000914 4AAD E8BC tst.l [A5 - 0x1744]
00000918 662A bne +0x2C /* 00000944 */
0000091A 594F subq.w A7, 4
0000091C 2F3C B642 466C move.l -[A7], 0xB642466C
00000922 3F3C 7530 move.w -[A7], 0x7530 /* 'u0' */
00000926 A9A0 syscall GetResource
00000928 205F movea.l A0, [A7]+
0000092A 2B48 E8BC move.l [A5 - 0x1744], A0
0000092E B0FC 0000 cmpa.w A0, 0x0
00000932 6710 beq +0x12 /* 00000944 */
00000934 594F subq.w A7, 4
00000936 2F2D E8BC move.l -[A7], [A5 - 0x1744]
0000093A 4EAD FEB8 jsr [A5 - 0x148]
0000093E 201F move.l D0, [A7]+
00000940 3B40 E8BA move.w [A5 - 0x1746], D0
label00000944:
00000944 4AAD E8BC tst.l [A5 - 0x1744]
00000948 671C beq +0x1E /* 00000966 */
0000094A 7000 moveq.l D0, 0x00
0000094C 302D E8BA move.w D0, [A5 - 0x1746]
00000950 7200 moveq.l D1, 0x00
00000952 1204 move.b D1, D4
00000954 B280 cmp.l D1, D0
00000956 6C0E bge +0x10 /* 00000966 */
00000958 7000 moveq.l D0, 0x00
0000095A 1004 move.b D0, D4
0000095C 206D E8BC movea.l A0, [A5 - 0x1744]
00000960 2250 movea.l A1, [A0]
00000962 1631 0000 move.b D3, [A1 + D0.w]
label00000966:
00000966 1003 move.b D0, D3
00000968 4CDF 0018 movem.l D3,D4, [A7]+
0000096C 4E75 rts
fn0000096E:
0000096E 48E7 1030 movem.l -[A7], D3,A2,A3
00000972 4FEF FFE8 lea.l A7, [A7 - 0x18]
00000976 266F 0028 movea.l A3, [A7 + 0x28]
0000097A 246F 002C movea.l A2, [A7 + 0x2C]
0000097E 4253 clr.w [A3]
00000980 4292 clr.l [A2]
00000982 554F subq.w A7, 2
00000984 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
0000098A 486F 000A pea.l [A7 + 0xA]
0000098E 4EAD FEB0 jsr [A5 - 0x150]
00000992 301F move.w D0, [A7]+
00000994 3600 move.w D3, D0
00000996 4A43 tst.w D3
00000998 6624 bne +0x26 /* 000009BE */
0000099A 7001 moveq.l D0, 0x01
0000099C C0AF 0004 and.l D0, [A7 + 0x4]
000009A0 671C beq +0x1E /* 000009BE */
000009A2 554F subq.w A7, 2
000009A4 3F3C 8000 move.w -[A7], 0x8000
000009A8 2F3C 6D61 6373 move.l -[A7], 0x6D616373 /* 'macs' */
000009AE 4227 clr.b -[A7]
000009B0 2F0B move.l -[A7], A3
000009B2 2F0A move.l -[A7], A2
000009B4 4EAD FFE8 jsr [A5 - 0x18]
000009B8 301F move.w D0, [A7]+
000009BA 3600 move.w D3, D0
000009BC 6002 bra +0x4 /* 000009C0 */
label000009BE:
000009BE 76FF moveq.l D3, 0xFFFFFFFF
label000009C0:
000009C0 4A43 tst.w D3
000009C2 672A beq +0x2C /* 000009EE */
000009C4 426F 000C clr.w [A7 + 0xC]
000009C8 554F subq.w A7, 2
000009CA 3F3C 0001 move.w -[A7], 0x1
000009CE 486F 000C pea.l [A7 + 0xC]
000009D2 4EAD FEA8 jsr [A5 - 0x158]
000009D6 301F move.w D0, [A7]+
000009D8 554F subq.w A7, 2
000009DA 3F2F 0018 move.w -[A7], [A7 + 0x18]
000009DE 2F0B move.l -[A7], A3
000009E0 2F0A move.l -[A7], A2
000009E2 486F 000C pea.l [A7 + 0xC]
000009E6 4EAD FFD0 jsr [A5 - 0x30]
000009EA 301F move.w D0, [A7]+
000009EC 3600 move.w D3, D0
label000009EE:
000009EE 3003 move.w D0, D3
000009F0 4FEF 0018 lea.l A7, [A7 + 0x18]
000009F4 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000009F8 4E75 rts
fn000009FA:
000009FA 514F subq.w A7, 8
000009FC 486F 0002 pea.l [A7 + 0x2]
00000A00 486F 000A pea.l [A7 + 0xA]
00000A04 4EBA FF68 jsr [PC - 0x98 /* 0000096E */]
00000A08 3F40 0008 move.w [A7 + 0x8], D0
00000A0C 4A40 tst.w D0
00000A0E 504F addq.w A7, 8
00000A10 6704 beq +0x6 /* 00000A16 */
00000A12 7000 moveq.l D0, 0x00
00000A14 6006 bra +0x8 /* 00000A1C */
label00000A16:
00000A16 302F 0006 move.w D0, [A7 + 0x6]
00000A1A 48C0 ext.l D0
label00000A1C:
00000A1C 504F addq.w A7, 8
00000A1E 4E75 rts
fn00000A20:
00000A20 554F subq.w A7, 2
00000A22 4227 clr.b -[A7]
00000A24 A99B syscall SetResLoad
00000A26 554F subq.w A7, 2
00000A28 3F2F 0008 move.w -[A7], [A7 + 0x8]
00000A2C 2F2F 000C move.l -[A7], [A7 + 0xC]
00000A30 2F2F 0014 move.l -[A7], [A7 + 0x14]
00000A34 1F2F 001C move.b -[A7], [A7 + 0x1C]
00000A38 4EAD FFD8 jsr [A5 - 0x28]
00000A3C 301F move.w D0, [A7]+
00000A3E 3E80 move.w [A7], D0
00000A40 1F3C 0001 move.b -[A7], 0x1
00000A44 A99B syscall SetResLoad
00000A46 3017 move.w D0, [A7]
00000A48 544F addq.w A7, 2
00000A4A 4E75 rts
fn00000A4C:
00000A4C 5D4F subq.w A7, 6
00000A4E 554F subq.w A7, 2
00000A50 2F3C 6370 7574 move.l -[A7], 0x63707574 /* 'cput' */
00000A56 486F 0008 pea.l [A7 + 0x8]
00000A5A 4EAD FEB0 jsr [A5 - 0x150]
00000A5E 301F move.w D0, [A7]+
00000A60 3E80 move.w [A7], D0
00000A62 4A40 tst.w D0
00000A64 660A bne +0xC /* 00000A70 */
00000A66 0CAF 0000 0101 0002 cmpi.l [A7 + 0x2], 0x101
00000A6E 6404 bcc +0x6 /* 00000A74 */
label00000A70:
00000A70 7000 moveq.l D0, 0x00
00000A72 6002 bra +0x4 /* 00000A76 */
label00000A74:
00000A74 7001 moveq.l D0, 0x01
label00000A76:
00000A76 5C4F addq.w A7, 6
00000A78 4E75 rts
fn00000A7A:
00000A7A 2F03 move.l -[A7], D3
00000A7C 594F subq.w A7, 4
00000A7E 7600 moveq.l D3, 0x00
00000A80 554F subq.w A7, 2
00000A82 2F3C 786C 6174 move.l -[A7], 0x786C6174 /* 'xlat' */
00000A88 486F 0006 pea.l [A7 + 0x6]
00000A8C 4EAD FEB0 jsr [A5 - 0x150]
00000A90 301F move.w D0, [A7]+
00000A92 4A40 tst.w D0
00000A94 6608 bne +0xA /* 00000A9E */
00000A96 7001 moveq.l D0, 0x01
00000A98 C097 and.l D0, [A7]
00000A9A 6702 beq +0x4 /* 00000A9E */
00000A9C 7601 moveq.l D3, 0x01
label00000A9E:
00000A9E 1003 move.b D0, D3
00000AA0 584F addq.w A7, 4
00000AA2 261F move.l D3, [A7]+
00000AA4 4E75 rts
fn00000AA6:
00000AA6 48E7 0430 movem.l -[A7], D5,A2,A3
00000AAA 266F 0010 movea.l A3, [A7 + 0x10]
00000AAE 7200 moveq.l D1, 0x00
00000AB0 2053 movea.l A0, [A3]
00000AB2 3428 0006 move.w D2, [A0 + 0x6]
00000AB6 48C2 ext.l D2
00000AB8 5282 addq.l D2, 1
00000ABA 2453 movea.l A2, [A3]
00000ABC 508A addq.l A2, 8
00000ABE 603A bra +0x3C /* 00000AFA */
label00000AC0:
00000AC0 2012 move.l D0, [A2]
00000AC2 B0AF 0014 cmp.l D0, [A7 + 0x14]
00000AC6 661C bne +0x1E /* 00000AE4 */
00000AC8 302A 0004 move.w D0, [A2 + 0x4]
00000ACC 48C0 ext.l D0
00000ACE 5280 addq.l D0, 1
00000AD0 206F 0018 movea.l A0, [A7 + 0x18]
00000AD4 3080 move.w [A0], D0
00000AD6 204A movea.l A0, A2
00000AD8 5C88 addq.l A0, 6
00000ADA 226F 001C movea.l A1, [A7 + 0x1C]
00000ADE 2288 move.l [A1], A0
00000AE0 7201 moveq.l D1, 0x01
00000AE2 601E bra +0x20 /* 00000B02 */
label00000AE4:
00000AE4 3A2A 0004 move.w D5, [A2 + 0x4]
00000AE8 48C5 ext.l D5
00000AEA 5285 addq.l D5, 1
00000AEC 3005 move.w D0, D5
00000AEE 48C0 ext.l D0
00000AF0 E588 lsl D0, 2
00000AF2 204A movea.l A0, A2
00000AF4 D1C0 add.l A0, D0
00000AF6 5C88 addq.l A0, 6
00000AF8 2448 movea.l A2, A0
label00000AFA:
00000AFA 3002 move.w D0, D2
00000AFC 5342 subq.w D2, 1
00000AFE 4A40 tst.w D0
00000B00 66BE bne -0x40 /* 00000AC0 */
label00000B02:
00000B02 1001 move.b D0, D1
00000B04 4CDF 0C20 movem.l D5,A2,A3, [A7]+
00000B08 4E75 rts
fn00000B0A:
00000B0A 48E7 0610 movem.l -[A7], D5,D6,A3
00000B0E 266F 0010 movea.l A3, [A7 + 0x10]
00000B12 7200 moveq.l D1, 0x00
00000B14 206F 0014 movea.l A0, [A7 + 0x14]
00000B18 2050 movea.l A0, [A0]
00000B1A 3428 0004 move.w D2, [A0 + 0x4]
00000B1E 2053 movea.l A0, [A3]
00000B20 3A28 0006 move.w D5, [A0 + 0x6]
00000B24 48C5 ext.l D5
00000B26 5285 addq.l D5, 1
00000B28 2253 movea.l A1, [A3]
00000B2A 5089 addq.l A1, 8
00000B2C 6048 bra +0x4A /* 00000B76 */
label00000B2E:
00000B2E 0C91 4943 4E23 cmpi.l [A1], 0x49434E23 /* 'ICN#' */
00000B34 662A bne +0x2C /* 00000B60 */
00000B36 3C29 0004 move.w D6, [A1 + 0x4]
00000B3A 48C6 ext.l D6
00000B3C 5286 addq.l D6, 1
00000B3E 2649 movea.l A3, A1
00000B40 5C8B addq.l A3, 6
00000B42 6012 bra +0x14 /* 00000B56 */
label00000B44:
00000B44 B453 cmp.w D2, [A3]
00000B46 660C bne +0xE /* 00000B54 */
00000B48 206F 0018 movea.l A0, [A7 + 0x18]
00000B4C 30AB 0002 move.w [A0], [A3 + 0x2]
00000B50 7201 moveq.l D1, 0x01
00000B52 6022 bra +0x24 /* 00000B76 */
label00000B54:
00000B54 588B addq.l A3, 4
label00000B56:
00000B56 3006 move.w D0, D6
00000B58 5346 subq.w D6, 1
00000B5A 4A40 tst.w D0
00000B5C 66E6 bne -0x18 /* 00000B44 */
00000B5E 6016 bra +0x18 /* 00000B76 */
label00000B60:
00000B60 3C29 0004 move.w D6, [A1 + 0x4]
00000B64 48C6 ext.l D6
00000B66 5286 addq.l D6, 1
00000B68 3006 move.w D0, D6
00000B6A 48C0 ext.l D0
00000B6C E588 lsl D0, 2
00000B6E 2049 movea.l A0, A1
00000B70 D1C0 add.l A0, D0
00000B72 5C88 addq.l A0, 6
00000B74 2248 movea.l A1, A0
label00000B76:
00000B76 3005 move.w D0, D5
00000B78 5345 subq.w D5, 1
00000B7A 4A40 tst.w D0
00000B7C 6704 beq +0x6 /* 00000B82 */
00000B7E 4A01 tst.b D1
00000B80 67AC beq -0x52 /* 00000B2E */
label00000B82:
00000B82 1001 move.b D0, D1
00000B84 4CDF 0860 movem.l D5,D6,A3, [A7]+
00000B88 4E75 rts
fn00000B8A:
00000B8A 48E7 1020 movem.l -[A7], D3,A2
00000B8E 246F 000C movea.l A2, [A7 + 0xC]
00000B92 7600 moveq.l D3, 0x00
00000B94 4EBA FEE4 jsr [PC - 0x11C /* 00000A7A */]
00000B98 4A00 tst.b D0
00000B9A 670C beq +0xE /* 00000BA8 */
00000B9C 554F subq.w A7, 2
00000B9E 3F2A 0018 move.w -[A7], [A2 + 0x18]
00000BA2 7017 moveq.l D0, 0x17
00000BA4 ABFC syscall TranslationDispatch
00000BA6 301F move.w D0, [A7]+
label00000BA8:
00000BA8 256F 0010 0030 move.l [A2 + 0x30], [A7 + 0x10]
00000BAE 256F 0014 0012 move.l [A2 + 0x12], [A7 + 0x14]
00000BB4 256F 0018 0038 move.l [A2 + 0x38], [A7 + 0x18]
00000BBA 256F 001C 0034 move.l [A2 + 0x34], [A7 + 0x1C]
00000BC0 42AA 001C clr.l [A2 + 0x1C]
00000BC4 204A movea.l A0, A2
00000BC6 7025 moveq.l D0, 0x25
00000BC8 A260 syscall FSDispatch/HFSDispatch, flags=2
00000BCA 3600 move.w D3, D0
00000BCC 204A movea.l A0, A2
00000BCE 702B moveq.l D0, 0x2B
00000BD0 A260 syscall FSDispatch/HFSDispatch, flags=2
00000BD2 3003 move.w D0, D3
00000BD4 4CDF 0408 movem.l D3,A2, [A7]+
00000BD8 4E75 rts
fn00000BDA:
00000BDA 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00000BDE 4FEF FF96 lea.l A7, [A7 - 0x6A]
00000BE2 286F 0086 movea.l A4, [A7 + 0x86]
00000BE6 7800 moveq.l D4, 0x00
00000BE8 3F6F 008A 001A move.w [A7 + 0x1A], [A7 + 0x8A]
00000BEE 4857 pea.l [A7]
00000BF0 2F0C move.l -[A7], A4
00000BF2 2F2F 008A move.l -[A7], [A7 + 0x8A]
00000BF6 4EBA FF12 jsr [PC - 0xEE /* 00000B0A */]
00000BFA 4A00 tst.b D0
00000BFC 4FEF 000C lea.l A7, [A7 + 0xC]
00000C00 6766 beq +0x68 /* 00000C68 */
00000C02 7600 moveq.l D3, 0x00
00000C04 605C bra +0x5E /* 00000C62 */
label00000C06:
00000C06 594F subq.w A7, 4
00000C08 700A moveq.l D0, 0x0A
00000C0A C1C3 muls.w D0, D3
00000C0C 41ED F9B4 lea.l A0, [A5 - 0x64C]
00000C10 2F30 0800 move.l -[A7], [A0 + D0]
00000C14 3F2F 0008 move.w -[A7], [A7 + 0x8]
00000C18 A81F syscall Get1Resource
00000C1A 205F movea.l A0, [A7]+
00000C1C 2448 movea.l A2, A0
00000C1E 200A move.l D0, A2
00000C20 4A80 tst.l D0
00000C22 673C beq +0x3E /* 00000C60 */
00000C24 204A movea.l A0, A2
00000C26 A029 syscall HLock
00000C28 42AF 001E clr.l [A7 + 0x1E]
00000C2C 2F52 0022 move.l [A7 + 0x22], [A2]
00000C30 700A moveq.l D0, 0x0A
00000C32 C1C3 muls.w D0, D3
00000C34 47ED F9B4 lea.l A3, [A5 - 0x64C]
00000C38 D7C0 add.l A3, D0
00000C3A 2F6B 0004 0026 move.l [A7 + 0x26], [A3 + 0x4]
00000C40 1F6B 0008 002F move.b [A7 + 0x2F], [A3 + 0x8]
00000C46 2054 movea.l A0, [A4]
00000C48 2F50 003A move.l [A7 + 0x3A], [A0]
00000C4C 2F6F 008C 0036 move.l [A7 + 0x36], [A7 + 0x8C]
00000C52 41EF 0002 lea.l A0, [A7 + 0x2]
00000C56 7022 moveq.l D0, 0x22
00000C58 A260 syscall FSDispatch/HFSDispatch, flags=2
00000C5A 3800 move.w D4, D0
00000C5C 2F0A move.l -[A7], A2
00000C5E A9A3 syscall ReleaseResource
label00000C60:
00000C60 5243 addq.w D3, 1
label00000C62:
00000C62 0C43 0006 cmpi.w D3, 0x6
00000C66 6D9E blt -0x60 /* 00000C06 */
label00000C68:
00000C68 41EF 0002 lea.l A0, [A7 + 0x2]
00000C6C 702B moveq.l D0, 0x2B
00000C6E A260 syscall FSDispatch/HFSDispatch, flags=2
00000C70 3004 move.w D0, D4
00000C72 4FEF 006A lea.l A7, [A7 + 0x6A]
00000C76 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00000C7A 4E75 rts
fn00000C7C:
00000C7C 48E7 1800 movem.l -[A7], D3,D4
00000C80 4FEF FF98 lea.l A7, [A7 - 0x68]
00000C84 7600 moveq.l D3, 0x00
00000C86 7801 moveq.l D4, 0x01
00000C88 3F6F 0078 0018 move.w [A7 + 0x18], [A7 + 0x78]
00000C8E 42AF 001C clr.l [A7 + 0x1C]
00000C92 2F6F 0074 0020 move.l [A7 + 0x20], [A7 + 0x74]
00000C98 2F7C 0000 0100 0024 move.l [A7 + 0x24], 0x100
00000CA0 1F7C FFFF 002D move.b [A7 + 0x2D], 0xFF
00000CA6 2F7C 7061 756C 0038 move.l [A7 + 0x38], 0x7061756C /* 'paul' */
00000CAE 2F6F 007A 0034 move.l [A7 + 0x34], [A7 + 0x7A]
00000CB4 4EBA FDC4 jsr [PC - 0x23C /* 00000A7A */]
00000CB8 4A00 tst.b D0
00000CBA 670E beq +0x10 /* 00000CCA */
00000CBC 554F subq.w A7, 2
00000CBE 486F 0002 pea.l [A7 + 0x2]
00000CC2 702B moveq.l D0, 0x2B
00000CC4 ABFC syscall TranslationDispatch
00000CC6 101F move.b D0, [A7]+
00000CC8 1800 move.b D4, D0
label00000CCA:
00000CCA 4A04 tst.b D4
00000CCC 6708 beq +0xA /* 00000CD6 */
00000CCE 41D7 lea.l A0, [A7]
00000CD0 7022 moveq.l D0, 0x22
00000CD2 A260 syscall FSDispatch/HFSDispatch, flags=2
00000CD4 3600 move.w D3, D0
label00000CD6:
00000CD6 41D7 lea.l A0, [A7]
00000CD8 702B moveq.l D0, 0x2B
00000CDA A260 syscall FSDispatch/HFSDispatch, flags=2
00000CDC 3003 move.w D0, D3
00000CDE 4FEF 0068 lea.l A7, [A7 + 0x68]
00000CE2 4CDF 0018 movem.l D3,D4, [A7]+
00000CE6 4E75 rts
fn00000CE8:
00000CE8 2F03 move.l -[A7], D3
00000CEA 4FEF FF72 lea.l A7, [A7 - 0x8E]
00000CEE 7600 moveq.l D3, 0x00
00000CF0 4A43 tst.w D3
00000CF2 6620 bne +0x22 /* 00000D14 */
00000CF4 42AF 0026 clr.l [A7 + 0x26]
00000CF8 3F6F 0096 002A move.w [A7 + 0x2A], [A7 + 0x96]
00000CFE 41D7 lea.l A0, [A7]
00000D00 2F48 0034 move.l [A7 + 0x34], A0
00000D04 7014 moveq.l D0, 0x14
00000D06 2F40 0038 move.l [A7 + 0x38], D0
00000D0A 41EF 0014 lea.l A0, [A7 + 0x14]
00000D0E 7030 moveq.l D0, 0x30
00000D10 A260 syscall FSDispatch/HFSDispatch, flags=2
00000D12 3600 move.w D3, D0
label00000D14:
00000D14 4A43 tst.w D3
00000D16 6610 bne +0x12 /* 00000D28 */
00000D18 082F 0004 0004 btst.b [A7 + 0x4], 0x4
00000D1E 6604 bne +0x6 /* 00000D24 */
00000D20 70FF moveq.l D0, 0xFFFFFFFF
00000D22 6002 bra +0x4 /* 00000D26 */
label00000D24:
00000D24 7000 moveq.l D0, 0x00
label00000D26:
00000D26 3600 move.w D3, D0
label00000D28:
00000D28 4A43 tst.w D3
00000D2A 6704 beq +0x6 /* 00000D30 */
00000D2C 7000 moveq.l D0, 0x00
00000D2E 6002 bra +0x4 /* 00000D32 */
label00000D30:
00000D30 7001 moveq.l D0, 0x01
label00000D32:
00000D32 4FEF 008E lea.l A7, [A7 + 0x8E]
00000D36 261F move.l D3, [A7]+
00000D38 4E75 rts
fn00000D3A:
00000D3A 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00000D3E 4FEF FF90 lea.l A7, [A7 - 0x70]
00000D42 3C2F 0098 move.w D6, [A7 + 0x98]
00000D46 282F 009A move.l D4, [A7 + 0x9A]
00000D4A 246F 009E movea.l A2, [A7 + 0x9E]
00000D4E 2C6F 00A6 movea.l A6, [A7 + 0xA6]
00000D52 7600 moveq.l D3, 0x00
00000D54 3F46 001E move.w [A7 + 0x1E], D6
00000D58 42AF 001A clr.l [A7 + 0x1A]
00000D5C 41EF 0008 lea.l A0, [A7 + 0x8]
00000D60 7020 moveq.l D0, 0x20
00000D62 A260 syscall FSDispatch/HFSDispatch, flags=2
00000D64 3600 move.w D3, D0
00000D66 4A43 tst.w D3
00000D68 6618 bne +0x1A /* 00000D82 */
00000D6A 2F0E move.l -[A7], A6
00000D6C 2F2F 00A6 move.l -[A7], [A7 + 0xA6]
00000D70 2F0A move.l -[A7], A2
00000D72 2F04 move.l -[A7], D4
00000D74 486F 0018 pea.l [A7 + 0x18]
00000D78 4EBA FE10 jsr [PC - 0x1F0 /* 00000B8A */]
00000D7C 3600 move.w D3, D0
00000D7E 4FEF 0014 lea.l A7, [A7 + 0x14]
label00000D82:
00000D82 4A43 tst.w D3
00000D84 6600 0124 bne +0x126 /* 00000EAA */
00000D88 1F3C 0001 move.b -[A7], 0x1
00000D8C 2F0A move.l -[A7], A2
00000D8E 2F04 move.l -[A7], D4
00000D90 3F06 move.w -[A7], D6
00000D92 4EBA FC8C jsr [PC - 0x374 /* 00000A20 */]
00000D96 3A00 move.w D5, D0
00000D98 0C45 FFFF cmpi.w D5, 0xFFFF
00000D9C 4FEF 000C lea.l A7, [A7 + 0xC]
00000DA0 6700 0100 beq +0x102 /* 00000EA2 */
00000DA4 203C 0000 0100 move.l D0, 0x100
00000DAA A31E syscall NewPtrClear, flags=3
00000DAC 2848 movea.l A4, A0
00000DAE 200C move.l D0, A4
00000DB0 4A80 tst.l D0
00000DB2 6700 00DE beq +0xE0 /* 00000E92 */
00000DB6 7C00 moveq.l D6, 0x00
00000DB8 7E00 moveq.l D7, 0x00
00000DBA 554F subq.w A7, 2
00000DBC 2F3C 424E 444C move.l -[A7], 0x424E444C /* 'BNDL' */
00000DC2 A80D syscall Count1Resources
00000DC4 301F move.w D0, [A7]+
00000DC6 3F40 0002 move.w [A7 + 0x2], D0
00000DCA 7801 moveq.l D4, 0x01
00000DCC 6000 00A4 bra +0xA6 /* 00000E72 */
label00000DD0:
00000DD0 594F subq.w A7, 4
00000DD2 2F3C 424E 444C move.l -[A7], 0x424E444C /* 'BNDL' */
00000DD8 3F04 move.w -[A7], D4
00000DDA A80E syscall Get1IndResource/Get1IxResource
00000DDC 205F movea.l A0, [A7]+
00000DDE 2448 movea.l A2, A0
00000DE0 200A move.l D0, A2
00000DE2 4A80 tst.l D0
00000DE4 6700 008A beq +0x8C /* 00000E70 */
00000DE8 204A movea.l A0, A2
00000DEA A029 syscall HLock
00000DEC 486F 0004 pea.l [A7 + 0x4]
00000DF0 486F 0004 pea.l [A7 + 0x4]
00000DF4 2F3C 4652 4546 move.l -[A7], 0x46524546 /* 'FREF' */
00000DFA 2F0A move.l -[A7], A2
00000DFC 4EBA FCA8 jsr [PC - 0x358 /* 00000AA6 */]
00000E00 4A00 tst.b D0
00000E02 4FEF 0010 lea.l A7, [A7 + 0x10]
00000E06 6764 beq +0x66 /* 00000E6C */
00000E08 605A bra +0x5C /* 00000E64 */
label00000E0A:
00000E0A 594F subq.w A7, 4
00000E0C 2F3C 4652 4546 move.l -[A7], 0x46524546 /* 'FREF' */
00000E12 206F 000C movea.l A0, [A7 + 0xC]
00000E16 3F28 0002 move.w -[A7], [A0 + 0x2]
00000E1A A81F syscall Get1Resource
00000E1C 205F movea.l A0, [A7]+
00000E1E 2648 movea.l A3, A0
00000E20 200B move.l D0, A3
00000E22 4A80 tst.l D0
00000E24 673A beq +0x3C /* 00000E60 */
00000E26 204B movea.l A0, A3
00000E28 A029 syscall HLock
00000E2A 2F0E move.l -[A7], A6
00000E2C 3F2F 0024 move.w -[A7], [A7 + 0x24]
00000E30 2F0B move.l -[A7], A3
00000E32 2F0A move.l -[A7], A2
00000E34 4EBA FDA4 jsr [PC - 0x25C /* 00000BDA */]
00000E38 3C00 move.w D6, D0
00000E3A 4A43 tst.w D3
00000E3C 4FEF 000E lea.l A7, [A7 + 0xE]
00000E40 6602 bne +0x4 /* 00000E44 */
00000E42 3606 move.w D3, D6
label00000E44:
00000E44 4A43 tst.w D3
00000E46 6614 bne +0x16 /* 00000E5C */
00000E48 0C47 0040 cmpi.w D7, 0x40 /* '@' */
00000E4C 6C0E bge +0x10 /* 00000E5C */
00000E4E 2053 movea.l A0, [A3]
00000E50 3007 move.w D0, D7
00000E52 5247 addq.w D7, 1
00000E54 48C0 ext.l D0
00000E56 E588 lsl D0, 2
00000E58 2990 0800 move.l [A4 + D0], [A0]
label00000E5C:
00000E5C 2F0B move.l -[A7], A3
00000E5E A9A3 syscall ReleaseResource
label00000E60:
00000E60 58AF 0004 addq.l [A7 + 0x4], 4
label00000E64:
00000E64 3017 move.w D0, [A7]
00000E66 5357 subq.w [A7], 1
00000E68 4A40 tst.w D0
00000E6A 669E bne -0x60 /* 00000E0A */
label00000E6C:
00000E6C 2F0A move.l -[A7], A2
00000E6E A9A3 syscall ReleaseResource
label00000E70:
00000E70 5244 addq.w D4, 1
label00000E72:
00000E72 B86F 0002 cmp.w D4, [A7 + 0x2]
00000E76 6F00 FF58 ble -0xA6 /* 00000DD0 */
00000E7A 4A43 tst.w D3
00000E7C 661E bne +0x20 /* 00000E9C */
00000E7E 2F0E move.l -[A7], A6
00000E80 3F2F 0024 move.w -[A7], [A7 + 0x24]
00000E84 2F0C move.l -[A7], A4
00000E86 4EBA FDF4 jsr [PC - 0x20C /* 00000C7C */]
00000E8A 3600 move.w D3, D0
00000E8C 4FEF 000A lea.l A7, [A7 + 0xA]
00000E90 600A bra +0xC /* 00000E9C */
label00000E92:
00000E92 554F subq.w A7, 2
00000E94 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000E98 301F move.w D0, [A7]+
00000E9A 3600 move.w D3, D0
label00000E9C:
00000E9C 3F05 move.w -[A7], D5
00000E9E A99A syscall CloseResFile
00000EA0 6008 bra +0xA /* 00000EAA */
label00000EA2:
00000EA2 554F subq.w A7, 2
00000EA4 A9AF syscall ResError
00000EA6 301F move.w D0, [A7]+
00000EA8 3600 move.w D3, D0
label00000EAA:
00000EAA 3003 move.w D0, D3
00000EAC 4FEF 0070 lea.l A7, [A7 + 0x70]
00000EB0 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00000EB4 4E75 rts
fn00000EB6:
00000EB6 2F03 move.l -[A7], D3
00000EB8 4FEF FF86 lea.l A7, [A7 - 0x7A]
00000EBC 3F6F 0082 0016 move.w [A7 + 0x16], [A7 + 0x82]
00000EC2 2F6F 0084 0030 move.l [A7 + 0x30], [A7 + 0x84]
00000EC8 2F6F 0088 0012 move.l [A7 + 0x12], [A7 + 0x88]
00000ECE 1F6F 008C 001B move.b [A7 + 0x1B], [A7 + 0x8C]
00000ED4 42AF 001C clr.l [A7 + 0x1C]
00000ED8 41D7 lea.l A0, [A7]
00000EDA A200 syscall OpenSlot, flags=2
00000EDC 3600 move.w D3, D0
00000EDE 4A43 tst.w D3
00000EE0 6704 beq +0x6 /* 00000EE6 */
00000EE2 7000 moveq.l D0, 0x00
00000EE4 6006 bra +0x8 /* 00000EEC */
label00000EE6:
00000EE6 302F 0018 move.w D0, [A7 + 0x18]
00000EEA 48C0 ext.l D0
label00000EEC:
00000EEC 206F 008E movea.l A0, [A7 + 0x8E]
00000EF0 3080 move.w [A0], D0
00000EF2 3003 move.w D0, D3
00000EF4 4FEF 007A lea.l A7, [A7 + 0x7A]
00000EF8 261F move.l D3, [A7]+
00000EFA 4E75 rts
fn00000EFC:
00000EFC 2F03 move.l -[A7], D3
00000EFE 4FEF FF86 lea.l A7, [A7 - 0x7A]
00000F02 3F6F 0082 0016 move.w [A7 + 0x16], [A7 + 0x82]
00000F08 2F6F 0084 0030 move.l [A7 + 0x30], [A7 + 0x84]
00000F0E 2F6F 0088 0012 move.l [A7 + 0x12], [A7 + 0x88]
00000F14 1F6F 008C 001B move.b [A7 + 0x1B], [A7 + 0x8C]
00000F1A 42AF 001C clr.l [A7 + 0x1C]
00000F1E 41D7 lea.l A0, [A7]
00000F20 A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
00000F22 3600 move.w D3, D0
00000F24 4A43 tst.w D3
00000F26 6704 beq +0x6 /* 00000F2C */
00000F28 7000 moveq.l D0, 0x00
00000F2A 6006 bra +0x8 /* 00000F32 */
label00000F2C:
00000F2C 302F 0018 move.w D0, [A7 + 0x18]
00000F30 48C0 ext.l D0
label00000F32:
00000F32 206F 008E movea.l A0, [A7 + 0x8E]
00000F36 3080 move.w [A0], D0
00000F38 3003 move.w D0, D3
00000F3A 4FEF 007A lea.l A7, [A7 + 0x7A]
00000F3E 261F move.l D3, [A7]+
00000F40 4E75 rts
fn00000F42:
00000F42 48E7 1C00 movem.l -[A7], D3,D4,D5
00000F46 4FEF FF7C lea.l A7, [A7 - 0x84]
00000F4A 3A2F 0094 move.w D5, [A7 + 0x94]
00000F4E 7800 moveq.l D4, 0x00
00000F50 7600 moveq.l D3, 0x00
00000F52 4A2D E54D tst.b [A5 - 0x1AB3]
00000F56 6748 beq +0x4A /* 00000FA0 */
00000F58 554F subq.w A7, 2
00000F5A 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
00000F60 486F 000C pea.l [A7 + 0xC]
00000F64 4EAD FEB0 jsr [A5 - 0x150]
00000F68 301F move.w D0, [A7]+
00000F6A 3600 move.w D3, D0
00000F6C 4A43 tst.w D3
00000F6E 662C bne +0x2E /* 00000F9C */
00000F70 7001 moveq.l D0, 0x01
00000F72 C0AF 0006 and.l D0, [A7 + 0x6]
00000F76 6724 beq +0x26 /* 00000F9C */
00000F78 554F subq.w A7, 2
00000F7A 3F05 move.w -[A7], D5
00000F7C 2F3C 6D61 6373 move.l -[A7], 0x6D616373 /* 'macs' */
00000F82 4227 clr.b -[A7]
00000F84 486F 000E pea.l [A7 + 0xE]
00000F88 486F 000E pea.l [A7 + 0xE]
00000F8C 4EAD FFE8 jsr [A5 - 0x18]
00000F90 301F move.w D0, [A7]+
00000F92 3600 move.w D3, D0
00000F94 4A43 tst.w D3
00000F96 660A bne +0xC /* 00000FA2 */
00000F98 7801 moveq.l D4, 0x01
00000F9A 6006 bra +0x8 /* 00000FA2 */
label00000F9C:
00000F9C 76FF moveq.l D3, 0xFFFFFFFF
00000F9E 6002 bra +0x4 /* 00000FA2 */
label00000FA0:
00000FA0 76FF moveq.l D3, 0xFFFFFFFF
label00000FA2:
00000FA2 4A43 tst.w D3
00000FA4 6720 beq +0x22 /* 00000FC6 */
00000FA6 42AF 001C clr.l [A7 + 0x1C]
00000FAA 3F45 0020 move.w [A7 + 0x20], D5
00000FAE 426F 0026 clr.w [A7 + 0x26]
00000FB2 41EF 000A lea.l A0, [A7 + 0xA]
00000FB6 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000FB8 3600 move.w D3, D0
00000FBA 4A43 tst.w D3
00000FBC 6608 bne +0xA /* 00000FC6 */
00000FBE 4AAF 0064 tst.l [A7 + 0x64]
00000FC2 6702 beq +0x4 /* 00000FC6 */
00000FC4 7801 moveq.l D4, 0x01
label00000FC6:
00000FC6 1004 move.b D0, D4
00000FC8 4FEF 0084 lea.l A7, [A7 + 0x84]
00000FCC 4CDF 0038 movem.l D3,D4,D5, [A7]+
00000FD0 4E75 rts
fn00000FD2:
00000FD2 4FEF FF84 lea.l A7, [A7 - 0x7C]
00000FD6 2F6F 0082 0014 move.l [A7 + 0x14], [A7 + 0x82]
00000FDC 3F6F 0080 0018 move.w [A7 + 0x18], [A7 + 0x80]
00000FE2 426F 001E clr.w [A7 + 0x1E]
00000FE6 41EF 0002 lea.l A0, [A7 + 0x2]
00000FEA A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000FEC 3E80 move.w [A7], D0
00000FEE 4A40 tst.w D0
00000FF0 6618 bne +0x1A /* 0000100A */
00000FF2 082F 0007 0029 btst.b [A7 + 0x29], 0x7
00000FF8 660C bne +0xE /* 00001006 */
00000FFA 082F 0007 0028 btst.b [A7 + 0x28], 0x7
00001000 6604 bne +0x6 /* 00001006 */
00001002 7000 moveq.l D0, 0x00
00001004 6002 bra +0x4 /* 00001008 */
label00001006:
00001006 7001 moveq.l D0, 0x01
label00001008:
00001008 6002 bra +0x4 /* 0000100C */
label0000100A:
0000100A 7001 moveq.l D0, 0x01
label0000100C:
0000100C 4FEF 007C lea.l A7, [A7 + 0x7C]
00001010 4E75 rts
fn00001012:
00001012 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00001016 4FEF FF86 lea.l A7, [A7 - 0x7A]
0000101A 266F 0094 movea.l A3, [A7 + 0x94]
0000101E 246F 0098 movea.l A2, [A7 + 0x98]
00001022 2F6F 0090 0012 move.l [A7 + 0x12], [A7 + 0x90]
00001028 3F6F 008E 0016 move.w [A7 + 0x16], [A7 + 0x8E]
0000102E 426F 001C clr.w [A7 + 0x1C]
00001032 41D7 lea.l A0, [A7]
00001034 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00001036 3600 move.w D3, D0
00001038 4A43 tst.w D3
0000103A 661E bne +0x20 /* 0000105A */
0000103C 7000 moveq.l D0, 0x00
0000103E 302F 003E move.w D0, [A7 + 0x3E]
00001042 222F 0030 move.l D1, [A7 + 0x30]
00001046 4EAD FB78 jsr [A5 - 0x488]
0000104A 2600 move.l D3, D0
0000104C 2F2F 0030 move.l -[A7], [A7 + 0x30]
00001050 4EAD FC88 jsr [A5 - 0x378]
00001054 2800 move.l D4, D0
00001056 584F addq.w A7, 4
00001058 600E bra +0x10 /* 00001068 */
label0000105A:
0000105A 7600 moveq.l D3, 0x00
0000105C 4878 0400 push.l 0x400
00001060 4EAD FC88 jsr [A5 - 0x378]
00001064 2800 move.l D4, D0
00001066 584F addq.w A7, 4
label00001068:
00001068 200B move.l D0, A3
0000106A 6702 beq +0x4 /* 0000106E */
0000106C 2684 move.l [A3], D4
label0000106E:
0000106E 200A move.l D0, A2
00001070 6702 beq +0x4 /* 00001074 */
00001072 2483 move.l [A2], D3
label00001074:
00001074 B883 cmp.l D4, D3
00001076 6E04 bgt +0x6 /* 0000107C */
00001078 7000 moveq.l D0, 0x00
0000107A 6002 bra +0x4 /* 0000107E */
label0000107C:
0000107C 7001 moveq.l D0, 0x01
label0000107E:
0000107E 4FEF 007A lea.l A7, [A7 + 0x7A]
00001082 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00001086 4E75 rts
fn00001088:
00001088 48E7 0038 movem.l -[A7], A2,A3,A4
0000108C 246F 0010 movea.l A2, [A7 + 0x10]
00001090 2052 movea.l A0, [A2]
00001092 2668 003C movea.l A3, [A0 + 0x3C]
00001096 600A bra +0xC /* 000010A2 */
label00001098:
00001098 2053 movea.l A0, [A3]
0000109A 2850 movea.l A4, [A0]
0000109C 204B movea.l A0, A3
0000109E A023 syscall DisposHandle/DisposeHandle
000010A0 264C movea.l A3, A4
label000010A2:
000010A2 200B move.l D0, A3
000010A4 4A80 tst.l D0
000010A6 66F0 bne -0xE /* 00001098 */
000010A8 2052 movea.l A0, [A2]
000010AA 4AA8 0070 tst.l [A0 + 0x70]
000010AE 6708 beq +0xA /* 000010B8 */
000010B0 2052 movea.l A0, [A2]
000010B2 2068 0070 movea.l A0, [A0 + 0x70]
000010B6 A01F syscall DisposPtr/DisposePtr
label000010B8:
000010B8 2052 movea.l A0, [A2]
000010BA 4AA8 0078 tst.l [A0 + 0x78]
000010BE 6708 beq +0xA /* 000010C8 */
000010C0 2052 movea.l A0, [A2]
000010C2 2068 0078 movea.l A0, [A0 + 0x78]
000010C6 A01F syscall DisposPtr/DisposePtr
label000010C8:
000010C8 204A movea.l A0, A2
000010CA A023 syscall DisposHandle/DisposeHandle
000010CC 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000010D0 4E75 rts
fn000010D2:
000010D2 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
000010D6 554F subq.w A7, 2
000010D8 286F 002C movea.l A4, [A7 + 0x2C]
000010DC 7600 moveq.l D3, 0x00
000010DE 7800 moveq.l D4, 0x00
000010E0 7A00 moveq.l D5, 0x00
000010E2 4214 clr.b [A4]
000010E4 4EBA 4D4E jsr [PC + 0x4D4E /* 00005E34 */]
000010E8 6000 0098 bra +0x9A /* 00001182 */
label000010EC:
000010EC 2F0B move.l -[A7], A3
000010EE 4EBA 3FC8 jsr [PC + 0x3FC8 /* 000050B8 */]
000010F2 2448 movea.l A2, A0
000010F4 200A move.l D0, A2
000010F6 4A80 tst.l D0
000010F8 584F addq.w A7, 4
000010FA 6774 beq +0x76 /* 00001170 */
000010FC 4857 pea.l [A7]
000010FE 2F0A move.l -[A7], A2
00001100 4EAD FC90 jsr [A5 - 0x370]
00001104 4A00 tst.b D0
00001106 504F addq.w A7, 8
00001108 671C beq +0x1E /* 00001126 */
0000110A 2052 movea.l A0, [A2]
0000110C 10BC 0001 move.b [A0], 0x1
00001110 4A57 tst.w [A7]
00001112 6706 beq +0x8 /* 0000111A */
00001114 4A2F 0030 tst.b [A7 + 0x30]
00001118 6604 bne +0x6 /* 0000111E */
label0000111A:
0000111A 7000 moveq.l D0, 0x00
0000111C 6002 bra +0x4 /* 00001120 */
label0000111E:
0000111E 7001 moveq.l D0, 0x01
label00001120:
00001120 2052 movea.l A0, [A2]
00001122 1140 0001 move.b [A0 + 0x1], D0
label00001126:
00001126 4A04 tst.b D4
00001128 6618 bne +0x1A /* 00001142 */
0000112A 2052 movea.l A0, [A2]
0000112C 0C68 0001 0002 cmpi.w [A0 + 0x2], 0x1
00001132 670E beq +0x10 /* 00001142 */
00001134 2F3C 7D01 7D09 move.l -[A7], 0x7D017D09
0000113A 4EBA 1004 jsr [PC + 0x1004 /* 00002140 */]
0000113E 7801 moveq.l D4, 0x01
00001140 584F addq.w A7, 4
label00001142:
00001142 2052 movea.l A0, [A2]
00001144 41E8 0004 lea.l A0, [A0 + 0x4]
00001148 224C movea.l A1, A4
0000114A 7020 moveq.l D0, 0x20
0000114C A02E syscall BlockMove/BlockMoveData
0000114E 2F2F 0022 move.l -[A7], [A7 + 0x22]
00001152 2F0A move.l -[A7], A2
00001154 486F 0030 pea.l [A7 + 0x30]
00001158 486F 0032 pea.l [A7 + 0x32]
0000115C 4EBA 2B8A jsr [PC + 0x2B8A /* 00003CE8 */]
00001160 3600 move.w D3, D0
00001162 2F0A move.l -[A7], A2
00001164 4EBA FF22 jsr [PC - 0xDE /* 00001088 */]
00001168 95CA sub.l A2, A2
0000116A 4FEF 0014 lea.l A7, [A7 + 0x14]
0000116E 6002 bra +0x4 /* 00001172 */
label00001170:
00001170 7694 moveq.l D3, 0xFFFFFF94
label00001172:
00001172 204B movea.l A0, A3
00001174 A01F syscall DisposPtr/DisposePtr
00001176 97CB sub.l A3, A3
00001178 4A2D E8C1 tst.b [A5 - 0x173F]
0000117C 6704 beq +0x6 /* 00001182 */
0000117E 363C 03E7 move.w D3, 0x3E7
label00001182:
00001182 5245 addq.w D5, 1
00001184 3F05 move.w -[A7], D5
00001186 2F2F 0020 move.l -[A7], [A7 + 0x20]
0000118A 4EBA 3E82 jsr [PC + 0x3E82 /* 0000500E */]
0000118E 2648 movea.l A3, A0
00001190 2008 move.l D0, A0
00001192 4A80 tst.l D0
00001194 5C4F addq.w A7, 6
00001196 6706 beq +0x8 /* 0000119E */
00001198 4A43 tst.w D3
0000119A 6700 FF50 beq -0xAE /* 000010EC */
label0000119E:
0000119E 4EBA 4C94 jsr [PC + 0x4C94 /* 00005E34 */]
000011A2 3003 move.w D0, D3
000011A4 544F addq.w A7, 2
000011A6 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
000011AA 4E75 rts
000011AC 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
000011B0 4FEF FECA lea.l A7, [A7 - 0x136]
000011B4 382F 016A move.w D4, [A7 + 0x16A]
000011B8 2C6F 0172 movea.l A6, [A7 + 0x172]
000011BC 4216 clr.b [A6]
000011BE 3F3C 7D00 move.w -[A7], 0x7D00 /* '}\0' */
000011C2 4EAD FBC0 jsr [A5 - 0x440]
000011C6 2848 movea.l A4, A0
000011C8 4EAD FC58 jsr [A5 - 0x3A8]
000011CC 3F04 move.w -[A7], D4
000011CE 4EBA 3518 jsr [PC + 0x3518 /* 000046E8 */]
000011D2 7600 moveq.l D3, 0x00
000011D4 486F 003A pea.l [A7 + 0x3A]
000011D8 3F04 move.w -[A7], D4
000011DA 4EBA FDF6 jsr [PC - 0x20A /* 00000FD2 */]
000011DE 4A00 tst.b D0
000011E0 4FEF 000A lea.l A7, [A7 + 0xA]
000011E4 671A beq +0x1C /* 00001200 */
000011E6 42A7 clr.l -[A7]
000011E8 42A7 clr.l -[A7]
000011EA 486F 003E pea.l [A7 + 0x3E]
000011EE 3F3C 0001 move.w -[A7], 0x1
000011F2 4EBA 02FC jsr [PC + 0x2FC /* 000014F0 */]
000011F6 363C D8F8 move.w D3, 0xD8F8
000011FA 4FEF 000E lea.l A7, [A7 + 0xE]
000011FE 6036 bra +0x38 /* 00001236 */
label00001200:
00001200 486F 0004 pea.l [A7 + 0x4]
00001204 486F 000C pea.l [A7 + 0xC]
00001208 486F 003E pea.l [A7 + 0x3E]
0000120C 3F04 move.w -[A7], D4
0000120E 4EBA FE02 jsr [PC - 0x1FE /* 00001012 */]
00001212 4A00 tst.b D0
00001214 4FEF 000E lea.l A7, [A7 + 0xE]
00001218 671C beq +0x1E /* 00001236 */
0000121A 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000121E 2F2F 000C move.l -[A7], [A7 + 0xC]
00001222 486F 003E pea.l [A7 + 0x3E]
00001226 3F3C 0002 move.w -[A7], 0x2
0000122A 4EBA 02C4 jsr [PC + 0x2C4 /* 000014F0 */]
0000122E 363C D8F7 move.w D3, 0xD8F7
00001232 4FEF 000E lea.l A7, [A7 + 0xE]
label00001236:
00001236 4A43 tst.w D3
00001238 6632 bne +0x34 /* 0000126C */
0000123A 4A2F 0170 tst.b [A7 + 0x170]
0000123E 672C beq +0x2E /* 0000126C */
00001240 594F subq.w A7, 4
00001242 2F3C B652 756C move.l -[A7], 0xB652756C
00001248 3F3C 7D00 move.w -[A7], 0x7D00 /* '}\0' */
0000124C A9A0 syscall GetResource
0000124E 205F movea.l A0, [A7]+
00001250 2448 movea.l A2, A0
00001252 2008 move.l D0, A0
00001254 4A80 tst.l D0
00001256 6714 beq +0x16 /* 0000126C */
00001258 486F 0036 pea.l [A7 + 0x36]
0000125C 2F0A move.l -[A7], A2
0000125E 4EBA 335A jsr [PC + 0x335A /* 000045BA */]
00001262 4A40 tst.w D0
00001264 504F addq.w A7, 8
00001266 6704 beq +0x6 /* 0000126C */
00001268 363C D8F6 move.w D3, 0xD8F6
label0000126C:
0000126C 4A43 tst.w D3
0000126E 666C bne +0x6E /* 000012DC */
00001270 4A2F 0170 tst.b [A7 + 0x170]
00001274 6766 beq +0x68 /* 000012DC */
00001276 7A00 moveq.l D5, 0x00
00001278 4EAD FC98 jsr [A5 - 0x368]
0000127C 2648 movea.l A3, A0
0000127E 6056 bra +0x58 /* 000012D6 */
label00001280:
00001280 5245 addq.w D5, 1
00001282 2053 movea.l A0, [A3]
00001284 0828 0001 001B btst.b [A0 + 0x1B], 0x1
0000128A 6604 bne +0x6 /* 00001290 */
0000128C 7000 moveq.l D0, 0x00
0000128E 6002 bra +0x4 /* 00001292 */
label00001290:
00001290 7001 moveq.l D0, 0x01
label00001292:
00001292 4A80 tst.l D0
00001294 6736 beq +0x38 /* 000012CC */
00001296 594F subq.w A7, 4
00001298 2F3C B652 756C move.l -[A7], 0xB652756C
0000129E 3005 move.w D0, D5
000012A0 48C0 ext.l D0
000012A2 0680 0000 7D00 addi.l D0, 0x7D00 /* '}\0' */
000012A8 3F00 move.w -[A7], D0
000012AA A9A0 syscall GetResource
000012AC 205F movea.l A0, [A7]+
000012AE 2448 movea.l A2, A0
000012B0 200A move.l D0, A2
000012B2 4A80 tst.l D0
000012B4 6716 beq +0x18 /* 000012CC */
000012B6 486F 0036 pea.l [A7 + 0x36]
000012BA 2F0A move.l -[A7], A2
000012BC 4EBA 32FC jsr [PC + 0x32FC /* 000045BA */]
000012C0 4A40 tst.w D0
000012C2 504F addq.w A7, 8
000012C4 6706 beq +0x8 /* 000012CC */
000012C6 363C D8F5 move.w D3, 0xD8F5
000012CA 6010 bra +0x12 /* 000012DC */
label000012CC:
000012CC 2F0B move.l -[A7], A3
000012CE 4EAD FCA0 jsr [A5 - 0x360]
000012D2 2648 movea.l A3, A0
000012D4 584F addq.w A7, 4
label000012D6:
000012D6 200B move.l D0, A3
000012D8 4A80 tst.l D0
000012DA 66A4 bne -0x5A /* 00001280 */
label000012DC:
000012DC 4A43 tst.w D3
000012DE 6600 0082 bne +0x84 /* 00001362 */
000012E2 3F04 move.w -[A7], D4
000012E4 4EBA FC5C jsr [PC - 0x3A4 /* 00000F42 */]
000012E8 1A00 move.b D5, D0
000012EA 4EAD FC70 jsr [A5 - 0x390]
000012EE 1C00 move.b D6, D0
000012F0 3F3C 0005 move.w -[A7], 0x5
000012F4 4EAD FBA0 jsr [A5 - 0x460]
000012F8 1E00 move.b D7, D0
000012FA 0C06 0002 cmpi.b D6, 0x2
000012FE 584F addq.w A7, 4
00001300 662C bne +0x2E /* 0000132E */
00001302 4A05 tst.b D5
00001304 6628 bne +0x2A /* 0000132E */
00001306 4A07 tst.b D7
00001308 671E beq +0x20 /* 00001328 */
0000130A 486F 0036 pea.l [A7 + 0x36]
0000130E 486D F9F0 pea.l [A5 - 0x610]
00001312 486D F9F0 pea.l [A5 - 0x610]
00001316 486D F9F0 pea.l [A5 - 0x610]
0000131A A98B syscall ParamText
0000131C 2F3C 7D04 0001 move.l -[A7], 0x7D040001
00001322 4EAD FBA8 jsr [A5 - 0x458]
00001326 584F addq.w A7, 4
label00001328:
00001328 363C D8F5 move.w D3, 0xD8F5
0000132C 6034 bra +0x36 /* 00001362 */
label0000132E:
0000132E 0C06 0001 cmpi.b D6, 0x1
00001332 662E bne +0x30 /* 00001362 */
00001334 4A05 tst.b D5
00001336 662A bne +0x2C /* 00001362 */
00001338 486F 0036 pea.l [A7 + 0x36]
0000133C 486D F9F0 pea.l [A5 - 0x610]
00001340 486D F9F0 pea.l [A5 - 0x610]
00001344 486D F9F0 pea.l [A5 - 0x610]
00001348 A98B syscall ParamText
0000134A 4A07 tst.b D7
0000134C 6714 beq +0x16 /* 00001362 */
0000134E 2F3C 7D03 0001 move.l -[A7], 0x7D030001
00001354 4EAD FBB0 jsr [A5 - 0x450]
00001358 4A00 tst.b D0
0000135A 584F addq.w A7, 4
0000135C 6604 bne +0x6 /* 00001362 */
0000135E 363C D8F4 move.w D3, 0xD8F4
label00001362:
00001362 4A43 tst.w D3
00001364 6714 beq +0x16 /* 0000137A */
00001366 3F3C 003C move.w -[A7], 0x3C /* '<' */
0000136A 2F0C move.l -[A7], A4
0000136C 4EAD FBC8 jsr [A5 - 0x438]
00001370 3003 move.w D0, D3
00001372 4FEF 013C lea.l A7, [A7 + 0x13C]
00001376 6000 0172 bra +0x174 /* 000014EA */
label0000137A:
0000137A 42AF 0032 clr.l [A7 + 0x32]
0000137E 42AF 002E clr.l [A7 + 0x2E]
00001382 422D E8C1 clr.b [A5 - 0x173F]
00001386 422D E8C0 clr.b [A5 - 0x1740]
0000138A 422F 000C clr.b [A7 + 0xC]
0000138E 554F subq.w A7, 2
00001390 42A7 clr.l -[A7]
00001392 486F 0032 pea.l [A7 + 0x32]
00001396 4EAD FEF0 jsr [A5 - 0x110]
0000139A 301F move.w D0, [A7]+
0000139C 554F subq.w A7, 2
0000139E 42A7 clr.l -[A7]
000013A0 3F2F 0032 move.w -[A7], [A7 + 0x32]
000013A4 4EAD FF10 jsr [A5 - 0xF0]
000013A8 301F move.w D0, [A7]+
000013AA 426D E906 clr.w [A5 - 0x16FA]
000013AE 554F subq.w A7, 2
000013B0 3F2F 002E move.w -[A7], [A7 + 0x2E]
000013B4 486D E906 pea.l [A5 - 0x16FA]
000013B8 486D E902 pea.l [A5 - 0x16FE]
000013BC 486F 000C pea.l [A7 + 0xC]
000013C0 4EAD FFD0 jsr [A5 - 0x30]
000013C4 301F move.w D0, [A7]+
000013C6 206F 015E movea.l A0, [A7 + 0x15E]
000013CA 7000 moveq.l D0, 0x00
000013CC 1010 move.b D0, [A0]
000013CE 5280 addq.l D0, 1
000013D0 206F 015E movea.l A0, [A7 + 0x15E]
000013D4 43ED E8C2 lea.l A1, [A5 - 0x173E]
000013D8 A02E syscall BlockMove/BlockMoveData
000013DA 486F 0032 pea.l [A7 + 0x32]
000013DE 42A7 clr.l -[A7]
000013E0 3F3C 0001 move.w -[A7], 0x1
000013E4 2F2F 0170 move.l -[A7], [A7 + 0x170]
000013E8 2F2F 0170 move.l -[A7], [A7 + 0x170]
000013EC 2F2F 0170 move.l -[A7], [A7 + 0x170]
000013F0 4EAD FE80 jsr [A5 - 0x180]
000013F4 3600 move.w D3, D0
000013F6 4A43 tst.w D3
000013F8 4FEF 0016 lea.l A7, [A7 + 0x16]
000013FC 6610 bne +0x12 /* 0000140E */
000013FE 486F 002E pea.l [A7 + 0x2E]
00001402 2F2F 0036 move.l -[A7], [A7 + 0x36]
00001406 4EAD FE30 jsr [A5 - 0x1D0]
0000140A 3600 move.w D3, D0
0000140C 504F addq.w A7, 8
label0000140E:
0000140E 4A43 tst.w D3
00001410 665A bne +0x5C /* 0000146C */
00001412 3F3C 7D00 move.w -[A7], 0x7D00 /* '}\0' */
00001416 4EBA 424C jsr [PC + 0x424C /* 00005664 */]
0000141A 2448 movea.l A2, A0
0000141C 200A move.l D0, A2
0000141E 4A80 tst.l D0
00001420 544F addq.w A7, 2
00001422 6746 beq +0x48 /* 0000146A */
00001424 4EBA F15C jsr [PC - 0xEA4 /* 00000582 */]
00001428 3600 move.w D3, D0
0000142A 4A43 tst.w D3
0000142C 661E bne +0x20 /* 0000144C */
0000142E 1F2F 0170 move.b -[A7], [A7 + 0x170]
00001432 486F 000E pea.l [A7 + 0xE]
00001436 2F2F 0172 move.l -[A7], [A7 + 0x172]
0000143A 3F04 move.w -[A7], D4
0000143C 2F2F 003A move.l -[A7], [A7 + 0x3A]
00001440 2F0A move.l -[A7], A2
00001442 4EBA FC8E jsr [PC - 0x372 /* 000010D2 */]
00001446 3600 move.w D3, D0
00001448 4FEF 0014 lea.l A7, [A7 + 0x14]
label0000144C:
0000144C 4EBA F18A jsr [PC - 0xE76 /* 000005D8 */]
00001450 3A00 move.w D5, D0
00001452 4A43 tst.w D3
00001454 6608 bne +0xA /* 0000145E */
00001456 4A45 tst.w D5
00001458 6704 beq +0x6 /* 0000145E */
0000145A 362D F87A move.w D3, [A5 - 0x786]
label0000145E:
0000145E 2F0A move.l -[A7], A2
00001460 4EBA 42C2 jsr [PC + 0x42C2 /* 00005724 */]
00001464 95CA sub.l A2, A2
00001466 584F addq.w A7, 4
00001468 6002 bra +0x4 /* 0000146C */
label0000146A:
0000146A 7694 moveq.l D3, 0xFFFFFF94
label0000146C:
0000146C 4AAF 002E tst.l [A7 + 0x2E]
00001470 670A beq +0xC /* 0000147C */
00001472 2F2F 002E move.l -[A7], [A7 + 0x2E]
00001476 4EAD FE58 jsr [A5 - 0x1A8]
0000147A 584F addq.w A7, 4
label0000147C:
0000147C 4AAF 0032 tst.l [A7 + 0x32]
00001480 670C beq +0xE /* 0000148E */
00001482 4227 clr.b -[A7]
00001484 2F2F 0034 move.l -[A7], [A7 + 0x34]
00001488 4EAD FE68 jsr [A5 - 0x198]
0000148C 5C4F addq.w A7, 6
label0000148E:
0000148E 554F subq.w A7, 2
00001490 42A7 clr.l -[A7]
00001492 3F04 move.w -[A7], D4
00001494 4EAD FF10 jsr [A5 - 0xF0]
00001498 301F move.w D0, [A7]+
0000149A 554F subq.w A7, 2
0000149C 42A7 clr.l -[A7]
0000149E 4EBA F55A jsr [PC - 0xAA6 /* 000009FA */]
000014A2 3F00 move.w -[A7], D0
000014A4 4EAD FF10 jsr [A5 - 0xF0]
000014A8 301F move.w D0, [A7]+
000014AA 2F0E move.l -[A7], A6
000014AC 4EAD FC78 jsr [A5 - 0x388]
000014B0 3F00 move.w -[A7], D0
000014B2 486F 003C pea.l [A7 + 0x3C]
000014B6 486F 0016 pea.l [A7 + 0x16]
000014BA 3F03 move.w -[A7], D3
000014BC 4EBA 0F7E jsr [PC + 0xF7E /* 0000243C */]
000014C0 4A00 tst.b D0
000014C2 4FEF 0010 lea.l A7, [A7 + 0x10]
000014C6 6604 bne +0x6 /* 000014CC */
000014C8 4A16 tst.b [A6]
000014CA 670E beq +0x10 /* 000014DA */
label000014CC:
000014CC 4EAD FC40 jsr [A5 - 0x3C0]
000014D0 1F3C 0001 move.b -[A7], 0x1
000014D4 4EAD FC48 jsr [A5 - 0x3B8]
000014D8 544F addq.w A7, 2
label000014DA:
000014DA 3F3C 003C move.w -[A7], 0x3C /* '<' */
000014DE 2F0C move.l -[A7], A4
000014E0 4EAD FBC8 jsr [A5 - 0x438]
000014E4 3003 move.w D0, D3
000014E6 4FEF 013C lea.l A7, [A7 + 0x13C]
label000014EA:
000014EA 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000014EE 4E75 rts
fn000014F0:
000014F0 2F03 move.l -[A7], D3
000014F2 4FEF FFDC lea.l A7, [A7 - 0x24]
000014F6 3F3C 0003 move.w -[A7], 0x3
000014FA 4EAD FBA0 jsr [A5 - 0x460]
000014FE 4A00 tst.b D0
00001500 544F addq.w A7, 2
00001502 6700 0154 beq +0x156 /* 00001658 */
00001506 2F3C 7D08 000A move.l -[A7], 0x7D08000A
0000150C 4EAD FE98 jsr [A5 - 0x168]
00001510 2B48 EA14 move.l [A5 - 0x15EC], A0
00001514 B0FC 0000 cmpa.w A0, 0x0
00001518 584F addq.w A7, 4
0000151A 6700 013C beq +0x13E /* 00001658 */
0000151E 2F2D EA14 move.l -[A7], [A5 - 0x15EC]
00001522 3F3C 0002 move.w -[A7], 0x2
00001526 486F 0006 pea.l [A7 + 0x6]
0000152A 486D EA10 pea.l [A5 - 0x15F0]
0000152E 486D EA08 pea.l [A5 - 0x15F8]
00001532 A98D syscall GetDialogItem/GetDItem
00001534 486D E908 pea.l [A5 - 0x16F8]
00001538 3F3C 7D08 move.w -[A7], 0x7D08
0000153C 3F2F 0032 move.w -[A7], [A7 + 0x32]
00001540 4EAD FF80 jsr [A5 - 0x80]
00001544 4AAD EA10 tst.l [A5 - 0x15F0]
00001548 6700 00B2 beq +0xB4 /* 000015FC */
0000154C 4A2D E908 tst.b [A5 - 0x16F8]
00001550 6700 00AA beq +0xAC /* 000015FC */
00001554 2F2D EA10 move.l -[A7], [A5 - 0x15F0]
00001558 486D E908 pea.l [A5 - 0x16F8]
0000155C A98F syscall SetDialogItemText/SetIText
0000155E 594F subq.w A7, 4
00001560 2F2D EA10 move.l -[A7], [A5 - 0x15F0]
00001564 42A7 clr.l -[A7]
00001566 486D F9F1 pea.l [A5 - 0x60F]
0000156A 4878 0002 push.l 0x2
0000156E 206F 0042 movea.l A0, [A7 + 0x42]
00001572 4868 0001 pea.l [A0 + 0x1]
00001576 7000 moveq.l D0, 0x00
00001578 1010 move.b D0, [A0]
0000157A 2F00 move.l -[A7], D0
0000157C A9E0 syscall Munger
0000157E 201F move.l D0, [A7]+
00001580 202F 0032 move.l D0, [A7 + 0x32]
00001584 0680 0000 0200 addi.l D0, 0x200
0000158A 223C 0000 0400 move.l D1, 0x400
00001590 4EAD FB84 jsr [A5 - 0x47C]
00001594 2F00 move.l -[A7], D0
00001596 486F 0008 pea.l [A7 + 0x8]
0000159A 4EAD FF60 jsr [A5 - 0xA0]
0000159E 594F subq.w A7, 4
000015A0 2F2D EA10 move.l -[A7], [A5 - 0x15F0]
000015A4 42A7 clr.l -[A7]
000015A6 486D F9F4 pea.l [A5 - 0x60C]
000015AA 4878 0008 push.l 0x8
000015AE 486F 0019 pea.l [A7 + 0x19]
000015B2 7000 moveq.l D0, 0x00
000015B4 102F 001C move.b D0, [A7 + 0x1C]
000015B8 2F00 move.l -[A7], D0
000015BA A9E0 syscall Munger
000015BC 201F move.l D0, [A7]+
000015BE 202F 0036 move.l D0, [A7 + 0x36]
000015C2 0680 0000 0200 addi.l D0, 0x200
000015C8 223C 0000 0400 move.l D1, 0x400
000015CE 4EAD FB84 jsr [A5 - 0x47C]
000015D2 2F00 move.l -[A7], D0
000015D4 486F 0008 pea.l [A7 + 0x8]
000015D8 4EAD FF60 jsr [A5 - 0xA0]
000015DC 594F subq.w A7, 4
000015DE 2F2D EA10 move.l -[A7], [A5 - 0x15F0]
000015E2 42A7 clr.l -[A7]
000015E4 486D F9FD pea.l [A5 - 0x603]
000015E8 4878 0008 push.l 0x8
000015EC 486F 0019 pea.l [A7 + 0x19]
000015F0 7000 moveq.l D0, 0x00
000015F2 102F 001C move.b D0, [A7 + 0x1C]
000015F6 2F00 move.l -[A7], D0
000015F8 A9E0 syscall Munger
000015FA 201F move.l D0, [A7]+
label000015FC:
000015FC 2F2D EA14 move.l -[A7], [A5 - 0x15EC]
00001600 A915 syscall ShowWindow
00001602 2F2D EA14 move.l -[A7], [A5 - 0x15EC]
00001606 A922 syscall BeginUpdate
00001608 2F2D EA14 move.l -[A7], [A5 - 0x15EC]
0000160C A981 syscall DrawDialog
0000160E 3F3C 0001 move.w -[A7], 0x1
00001612 2F2D EA14 move.l -[A7], [A5 - 0x15EC]
00001616 4EAD FE90 jsr [A5 - 0x170]
0000161A 2F2D EA14 move.l -[A7], [A5 - 0x15EC]
0000161E A923 syscall EndUpdate
00001620 3F3C 0005 move.w -[A7], 0x5
00001624 A9C8 syscall SysBeep
00001626 1B7C 0001 E533 move.b [A5 - 0x1ACD], 0x1
0000162C 486D E4A8 pea.l [A5 - 0x1B58]
00001630 A851 syscall SetCursor
00001632 7600 moveq.l D3, 0x00
00001634 5C4F addq.w A7, 6
00001636 6016 bra +0x18 /* 0000164E */
label00001638:
00001638 42A7 clr.l -[A7]
0000163A 486F 0006 pea.l [A7 + 0x6]
0000163E A991 syscall ModalDialog
00001640 302F 0002 move.w D0, [A7 + 0x2]
00001644 48C0 ext.l D0
00001646 5380 subq.l D0, 1
00001648 6702 beq +0x4 /* 0000164C */
0000164A 6002 bra +0x4 /* 0000164E */
label0000164C:
0000164C 7601 moveq.l D3, 0x01
label0000164E:
0000164E 4A43 tst.w D3
00001650 67E6 beq -0x18 /* 00001638 */
00001652 2F2D EA14 move.l -[A7], [A5 - 0x15EC]
00001656 A983 syscall DisposeDialog
label00001658:
00001658 4FEF 0024 lea.l A7, [A7 + 0x24]
0000165C 261F move.l D3, [A7]+
0000165E 4E75 rts
fn00001660:
00001660 206F 0008 movea.l A0, [A7 + 0x8]
00001664 0250 00FF andi.w [A0], 0xFF
00001668 0228 000F 0001 andi.b [A0 + 0x1], 0xF
0000166E 0228 00F0 0001 andi.b [A0 + 0x1], 0xF0
00001674 4228 0002 clr.b [A0 + 0x2]
00001678 4228 0003 clr.b [A0 + 0x3]
0000167C 7000 moveq.l D0, 0x00
0000167E 4E75 rts
fn00001680:
00001680 206F 0008 movea.l A0, [A7 + 0x8]
00001684 4290 clr.l [A0]
00001686 206F 000C movea.l A0, [A7 + 0xC]
0000168A 4290 clr.l [A0]
0000168C 7000 moveq.l D0, 0x00
0000168E 4E75 rts
fn00001690:
00001690 7000 moveq.l D0, 0x00
00001692 4E75 rts
fn00001694:
00001694 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00001698 5D4F subq.w A7, 6
0000169A 286F 0032 movea.l A4, [A7 + 0x32]
0000169E 2A2F 0036 move.l D5, [A7 + 0x36]
000016A2 7600 moveq.l D3, 0x00
000016A4 2045 movea.l A0, D5
000016A6 A064 syscall MoveHHi
000016A8 2045 movea.l A0, D5
000016AA A029 syscall HLock
000016AC 2045 movea.l A0, D5
000016AE 2450 movea.l A2, [A0]
000016B0 3F52 0004 move.w [A7 + 0x4], [A2]
000016B4 5C8A addq.l A2, 6
000016B6 4A2F 003A tst.b [A7 + 0x3A]
000016BA 6602 bne +0x4 /* 000016BE */
000016BC 2C4A movea.l A6, A2
label000016BE:
000016BE 204C movea.l A0, A4
000016C0 A064 syscall MoveHHi
000016C2 204C movea.l A0, A4
000016C4 A029 syscall HLock
000016C6 2654 movea.l A3, [A4]
000016C8 594F subq.w A7, 4
000016CA 2F0C move.l -[A7], A4
000016CC 4EAD FEB8 jsr [A5 - 0x148]
000016D0 201F move.l D0, [A7]+
000016D2 204B movea.l A0, A3
000016D4 D1C0 add.l A0, D0
000016D6 2E08 move.l D7, A0
000016D8 6058 bra +0x5A /* 00001732 */
label000016DA:
000016DA 4A2F 003A tst.b [A7 + 0x3A]
000016DE 671C beq +0x1E /* 000016FC */
000016E0 305A movea.w A0, [A2]+
000016E2 2C08 move.l D6, A0
000016E4 305A movea.w A0, [A2]+
000016E6 2608 move.l D3, A0
000016E8 4A83 tst.l D3
000016EA 6D06 blt +0x8 /* 000016F2 */
000016EC 305A movea.w A0, [A2]+
000016EE 2808 move.l D4, A0
000016F0 601E bra +0x20 /* 00001710 */
label000016F2:
000016F2 0283 0000 7FFF andi.l D3, 0x7FFF
000016F8 2803 move.l D4, D3
000016FA 6014 bra +0x16 /* 00001710 */
label000016FC:
000016FC 2C1E move.l D6, [A6]+
000016FE 261E move.l D3, [A6]+
00001700 4A83 tst.l D3
00001702 6D04 blt +0x6 /* 00001708 */
00001704 281E move.l D4, [A6]+
00001706 6008 bra +0xA /* 00001710 */
label00001708:
00001708 0283 7FFF FFFF andi.l D3, 0x7FFFFFFF
0000170E 2803 move.l D4, D3
label00001710:
00001710 594F subq.w A7, 4
00001712 2F2F 0032 move.l -[A7], [A7 + 0x32]
00001716 2F06 move.l -[A7], D6
00001718 42A7 clr.l -[A7]
0000171A 2F03 move.l -[A7], D3
0000171C 2F0B move.l -[A7], A3
0000171E 2F04 move.l -[A7], D4
00001720 A9E0 syscall Munger
00001722 201F move.l D0, [A7]+
00001724 2E80 move.l [A7], D0
00001726 554F subq.w A7, 2
00001728 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000172C 301F move.w D0, [A7]+
0000172E 3600 move.w D3, D0
00001730 D7C4 add.l A3, D4
label00001732:
00001732 302F 0004 move.w D0, [A7 + 0x4]
00001736 536F 0004 subq.w [A7 + 0x4], 1
0000173A 4A40 tst.w D0
0000173C 6708 beq +0xA /* 00001746 */
0000173E 4A43 tst.w D3
00001740 6604 bne +0x6 /* 00001746 */
00001742 B7C7 cmpa.l A3, D7
00001744 6594 bcs -0x6A /* 000016DA */
label00001746:
00001746 204C movea.l A0, A4
00001748 A02A syscall HUnlock
0000174A 2045 movea.l A0, D5
0000174C A02A syscall HUnlock
0000174E 4A43 tst.w D3
00001750 6604 bne +0x6 /* 00001756 */
00001752 7000 moveq.l D0, 0x00
00001754 6002 bra +0x4 /* 00001758 */
label00001756:
00001756 7008 moveq.l D0, 0x08
label00001758:
00001758 5C4F addq.w A7, 6
0000175A 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
0000175E 4E75 rts
fn00001760:
00001760 48E7 1020 movem.l -[A7], D3,A2
00001764 246F 000C movea.l A2, [A7 + 0xC]
00001768 554F subq.w A7, 2
0000176A A9AF syscall ResError
0000176C 301F move.w D0, [A7]+
0000176E 3600 move.w D3, D0
00001770 0C40 FFDE cmpi.w D0, 0xFFDE
00001774 6704 beq +0x6 /* 0000177A */
00001776 7000 moveq.l D0, 0x00
00001778 6032 bra +0x34 /* 000017AC */
label0000177A:
0000177A 3F2A 0092 move.w -[A7], [A2 + 0x92]
0000177E A999 syscall UpdateResFile
00001780 554F subq.w A7, 2
00001782 A9AF syscall ResError
00001784 301F move.w D0, [A7]+
00001786 3600 move.w D3, D0
00001788 4A40 tst.w D0
0000178A 6704 beq +0x6 /* 00001790 */
0000178C 7000 moveq.l D0, 0x00
0000178E 601C bra +0x1E /* 000017AC */
label00001790:
00001790 554F subq.w A7, 2
00001792 42A7 clr.l -[A7]
00001794 3F2A 0046 move.w -[A7], [A2 + 0x46]
00001798 4EAD FF10 jsr [A5 - 0xF0]
0000179C 301F move.w D0, [A7]+
0000179E 3600 move.w D3, D0
000017A0 3F2A 0092 move.w -[A7], [A2 + 0x92]
000017A4 3F3C 0060 move.w -[A7], 0x60 /* '`' */
000017A8 A9F7 syscall SetResFileAttrs
000017AA 7001 moveq.l D0, 0x01
label000017AC:
000017AC 4CDF 0408 movem.l D3,A2, [A7]+
000017B0 4E75 rts
fn000017B2:
000017B2 4A2F 0008 tst.b [A7 + 0x8]
000017B6 6708 beq +0xA /* 000017C0 */
000017B8 206F 0004 movea.l A0, [A7 + 0x4]
000017BC A023 syscall DisposHandle/DisposeHandle
000017BE 6006 bra +0x8 /* 000017C6 */
label000017C0:
000017C0 2F2F 0004 move.l -[A7], [A7 + 0x4]
000017C4 A9A3 syscall ReleaseResource
label000017C6:
000017C6 4E75 rts
fn000017C8:
000017C8 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
000017CC 4FEF FEFA lea.l A7, [A7 - 0x106]
000017D0 266F 012E movea.l A3, [A7 + 0x12E]
000017D4 286F 0132 movea.l A4, [A7 + 0x132]
000017D8 7600 moveq.l D3, 0x00
000017DA 3F2C 0092 move.w -[A7], [A4 + 0x92]
000017DE A998 syscall UseResFile
000017E0 594F subq.w A7, 4
000017E2 2F2B 0004 move.l -[A7], [A3 + 0x4]
000017E6 3F2B 0008 move.w -[A7], [A3 + 0x8]
000017EA A81F syscall Get1Resource
000017EC 205F movea.l A0, [A7]+
000017EE 2448 movea.l A2, A0
000017F0 200A move.l D0, A2
000017F2 4A80 tst.l D0
000017F4 6626 bne +0x28 /* 0000181C */
000017F6 302B 0002 move.w D0, [A3 + 0x2]
000017FA 7204 moveq.l D1, 0x04
000017FC C081 and.l D0, D1
000017FE 6706 beq +0x8 /* 00001806 */
00001800 7000 moveq.l D0, 0x00
00001802 6000 0266 bra +0x268 /* 00001A6A */
label00001806:
00001806 7000 moveq.l D0, 0x00
00001808 A122 syscall NewHandle, flags=1
0000180A 2448 movea.l A2, A0
0000180C 2008 move.l D0, A0
0000180E 4A80 tst.l D0
00001810 6606 bne +0x8 /* 00001818 */
00001812 7008 moveq.l D0, 0x08
00001814 6000 0254 bra +0x256 /* 00001A6A */
label00001818:
00001818 7801 moveq.l D4, 0x01
0000181A 6002 bra +0x4 /* 0000181E */
label0000181C:
0000181C 7800 moveq.l D4, 0x00
label0000181E:
0000181E 4A53 tst.w [A3]
00001820 6634 bne +0x36 /* 00001856 */
00001822 4A04 tst.b D4
00001824 6626 bne +0x28 /* 0000184C */
00001826 2F0A move.l -[A7], A2
00001828 4267 clr.w -[A7]
0000182A A9A7 syscall SetResAttrs
0000182C 2F0A move.l -[A7], A2
0000182E A9AD syscall RemoveResource/RmveResource
00001830 554F subq.w A7, 2
00001832 A9AF syscall ResError
00001834 301F move.w D0, [A7]+
00001836 3600 move.w D3, D0
00001838 4A40 tst.w D0
0000183A 6606 bne +0x8 /* 00001842 */
0000183C 204A movea.l A0, A2
0000183E A023 syscall DisposHandle/DisposeHandle
00001840 6002 bra +0x4 /* 00001844 */
label00001842:
00001842 7606 moveq.l D3, 0x06
label00001844:
00001844 197C 0001 0094 move.b [A4 + 0x94], 0x1
0000184A 6004 bra +0x6 /* 00001850 */
label0000184C:
0000184C 204A movea.l A0, A2
0000184E A023 syscall DisposHandle/DisposeHandle
label00001850:
00001850 3003 move.w D0, D3
00001852 6000 0216 bra +0x218 /* 00001A6A */
label00001856:
00001856 302B 0002 move.w D0, [A3 + 0x2]
0000185A 7204 moveq.l D1, 0x04
0000185C C081 and.l D0, D1
0000185E 671C beq +0x1E /* 0000187C */
00001860 302B 0002 move.w D0, [A3 + 0x2]
00001864 7208 moveq.l D1, 0x08
00001866 C081 and.l D0, D1
00001868 6612 bne +0x14 /* 0000187C */
0000186A 1F04 move.b -[A7], D4
0000186C 2F0A move.l -[A7], A2
0000186E 4EBA FF42 jsr [PC - 0xBE /* 000017B2 */]
00001872 7000 moveq.l D0, 0x00
00001874 4FEF 010C lea.l A7, [A7 + 0x10C]
00001878 6000 01F4 bra +0x1F6 /* 00001A6E */
label0000187C:
0000187C 3F2C 0090 move.w -[A7], [A4 + 0x90]
00001880 A998 syscall UseResFile
00001882 594F subq.w A7, 4
00001884 2F3C 5A41 5020 move.l -[A7], 0x5A415020 /* 'ZAP ' */
0000188A 3F13 move.w -[A7], [A3]
0000188C A81F syscall Get1Resource
0000188E 205F movea.l A0, [A7]+
00001890 2C48 movea.l A6, A0
00001892 2008 move.l D0, A0
00001894 4A80 tst.l D0
00001896 6612 bne +0x14 /* 000018AA */
00001898 1F04 move.b -[A7], D4
0000189A 2F0A move.l -[A7], A2
0000189C 4EBA FF14 jsr [PC - 0xEC /* 000017B2 */]
000018A0 7009 moveq.l D0, 0x09
000018A2 4FEF 010C lea.l A7, [A7 + 0x10C]
000018A6 6000 01C6 bra +0x1C8 /* 00001A6E */
label000018AA:
000018AA 2F0E move.l -[A7], A6
000018AC 486F 0008 pea.l [A7 + 0x8]
000018B0 486F 0008 pea.l [A7 + 0x8]
000018B4 486F 0012 pea.l [A7 + 0x12]
000018B8 A9A8 syscall GetResInfo
000018BA 554F subq.w A7, 2
000018BC 2F0E move.l -[A7], A6
000018BE A9A6 syscall GetResAttrs
000018C0 301F move.w D0, [A7]+
000018C2 3E00 move.w D7, D0
000018C4 4A04 tst.b D4
000018C6 663E bne +0x40 /* 00001906 */
000018C8 2F0A move.l -[A7], A2
000018CA 4267 clr.w -[A7]
000018CC A9A7 syscall SetResAttrs
000018CE 302B 0002 move.w D0, [A3 + 0x2]
000018D2 7204 moveq.l D1, 0x04
000018D4 C081 and.l D0, D1
000018D6 672E beq +0x30 /* 00001906 */
000018D8 204A movea.l A0, A2
000018DA 202B 000C move.l D0, [A3 + 0xC]
000018DE A024 syscall SetHandleSize
000018E0 197C 0001 0094 move.b [A4 + 0x94], 0x1
000018E6 554F subq.w A7, 2
000018E8 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000018EC 301F move.w D0, [A7]+
000018EE 3600 move.w D3, D0
000018F0 4A40 tst.w D0
000018F2 6712 beq +0x14 /* 00001906 */
000018F4 1F04 move.b -[A7], D4
000018F6 2F0A move.l -[A7], A2
000018F8 4EBA FEB8 jsr [PC - 0x148 /* 000017B2 */]
000018FC 7008 moveq.l D0, 0x08
000018FE 4FEF 010C lea.l A7, [A7 + 0x10C]
00001902 6000 016A bra +0x16C /* 00001A6E */
label00001906:
00001906 2F0E move.l -[A7], A6
00001908 4267 clr.w -[A7]
0000190A A9A7 syscall SetResAttrs
0000190C 3C2B 0002 move.w D6, [A3 + 0x2]
00001910 7201 moveq.l D1, 0x01
00001912 CC81 and.l D6, D1
00001914 4A06 tst.b D6
00001916 6610 bne +0x12 /* 00001928 */
00001918 594F subq.w A7, 4
0000191A 2F3C 5A49 4C23 move.l -[A7], 0x5A494C23 /* 'ZIL#' */
00001920 3F13 move.w -[A7], [A3]
00001922 A81F syscall Get1Resource
00001924 205F movea.l A0, [A7]+
00001926 600E bra +0x10 /* 00001936 */
label00001928:
00001928 594F subq.w A7, 4
0000192A 2F3C 5A49 5323 move.l -[A7], 0x5A495323 /* 'ZIS#' */
00001930 3F13 move.w -[A7], [A3]
00001932 A81F syscall Get1Resource
00001934 205F movea.l A0, [A7]+
label00001936:
00001936 2A08 move.l D5, A0
00001938 4A85 tst.l D5
0000193A 672E beq +0x30 /* 0000196A */
0000193C 1F06 move.b -[A7], D6
0000193E 2F05 move.l -[A7], D5
00001940 2F0E move.l -[A7], A6
00001942 2F0A move.l -[A7], A2
00001944 4EBA FD4E jsr [PC - 0x2B2 /* 00001694 */]
00001948 3600 move.w D3, D0
0000194A 197C 0001 0094 move.b [A4 + 0x94], 0x1
00001950 4A43 tst.w D3
00001952 4FEF 000E lea.l A7, [A7 + 0xE]
00001956 6724 beq +0x26 /* 0000197C */
00001958 1F04 move.b -[A7], D4
0000195A 2F0A move.l -[A7], A2
0000195C 4EBA FE54 jsr [PC - 0x1AC /* 000017B2 */]
00001960 7008 moveq.l D0, 0x08
00001962 4FEF 010C lea.l A7, [A7 + 0x10C]
00001966 6000 0106 bra +0x108 /* 00001A6E */
label0000196A:
0000196A 1F04 move.b -[A7], D4
0000196C 2F0A move.l -[A7], A2
0000196E 4EBA FE42 jsr [PC - 0x1BE /* 000017B2 */]
00001972 7009 moveq.l D0, 0x09
00001974 4FEF 010C lea.l A7, [A7 + 0x10C]
00001978 6000 00F4 bra +0xF6 /* 00001A6E */
label0000197C:
0000197C 3F2C 0092 move.w -[A7], [A4 + 0x92]
00001980 A998 syscall UseResFile
00001982 4A04 tst.b D4
00001984 672E beq +0x30 /* 000019B4 */
00001986 2F0A move.l -[A7], A2
00001988 2F2B 0004 move.l -[A7], [A3 + 0x4]
0000198C 3F2B 0008 move.w -[A7], [A3 + 0x8]
00001990 486F 0010 pea.l [A7 + 0x10]
00001994 A9AB syscall AddResource
00001996 2F0C move.l -[A7], A4
00001998 4EBA FDC6 jsr [PC - 0x23A /* 00001760 */]
0000199C 4A40 tst.w D0
0000199E 584F addq.w A7, 4
000019A0 671E beq +0x20 /* 000019C0 */
000019A2 2F0A move.l -[A7], A2
000019A4 2F2B 0004 move.l -[A7], [A3 + 0x4]
000019A8 3F2B 0008 move.w -[A7], [A3 + 0x8]
000019AC 486F 0010 pea.l [A7 + 0x10]
000019B0 A9AB syscall AddResource
000019B2 600C bra +0xE /* 000019C0 */
label000019B4:
000019B4 2F0A move.l -[A7], A2
000019B6 3F2B 0008 move.w -[A7], [A3 + 0x8]
000019BA 486F 000C pea.l [A7 + 0xC]
000019BE A9A9 syscall SetResInfo
label000019C0:
000019C0 2F0A move.l -[A7], A2
000019C2 A9AA syscall ChangedResource
000019C4 2F0C move.l -[A7], A4
000019C6 4EBA FD98 jsr [PC - 0x268 /* 00001760 */]
000019CA 4A40 tst.w D0
000019CC 584F addq.w A7, 4
000019CE 676A beq +0x6C /* 00001A3A */
000019D0 2F0A move.l -[A7], A2
000019D2 A9AA syscall ChangedResource
000019D4 554F subq.w A7, 2
000019D6 A9AF syscall ResError
000019D8 301F move.w D0, [A7]+
000019DA 3600 move.w D3, D0
000019DC 0C40 FFDE cmpi.w D0, 0xFFDE
000019E0 6658 bne +0x5A /* 00001A3A */
000019E2 2F0A move.l -[A7], A2
000019E4 486F 0008 pea.l [A7 + 0x8]
000019E8 486F 0008 pea.l [A7 + 0x8]
000019EC 486F 0012 pea.l [A7 + 0x12]
000019F0 A9A8 syscall GetResInfo
000019F2 554F subq.w A7, 2
000019F4 A9AF syscall ResError
000019F6 301F move.w D0, [A7]+
000019F8 3600 move.w D3, D0
000019FA 4A40 tst.w D0
000019FC 663C bne +0x3E /* 00001A3A */
000019FE 2F0A move.l -[A7], A2
00001A00 A9AD syscall RemoveResource/RmveResource
00001A02 554F subq.w A7, 2
00001A04 A9AF syscall ResError
00001A06 301F move.w D0, [A7]+
00001A08 3600 move.w D3, D0
00001A0A 4A40 tst.w D0
00001A0C 662C bne +0x2E /* 00001A3A */
00001A0E 2F0A move.l -[A7], A2
00001A10 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001A14 3F2F 000C move.w -[A7], [A7 + 0xC]
00001A18 486F 0010 pea.l [A7 + 0x10]
00001A1C A9AB syscall AddResource
00001A1E 2F0C move.l -[A7], A4
00001A20 4EBA FD3E jsr [PC - 0x2C2 /* 00001760 */]
00001A24 4A40 tst.w D0
00001A26 584F addq.w A7, 4
00001A28 6710 beq +0x12 /* 00001A3A */
00001A2A 2F0A move.l -[A7], A2
00001A2C 2F2B 0004 move.l -[A7], [A3 + 0x4]
00001A30 3F2B 0008 move.w -[A7], [A3 + 0x8]
00001A34 486F 0010 pea.l [A7 + 0x10]
00001A38 A9AB syscall AddResource
label00001A3A:
00001A3A 4A43 tst.w D3
00001A3C 6704 beq +0x6 /* 00001A42 */
00001A3E 7007 moveq.l D0, 0x07
00001A40 6028 bra +0x2A /* 00001A6A */
label00001A42:
00001A42 2F0A move.l -[A7], A2
00001A44 A9B0 syscall WriteResource
00001A46 554F subq.w A7, 2
00001A48 A9AF syscall ResError
00001A4A 301F move.w D0, [A7]+
00001A4C 3600 move.w D3, D0
00001A4E 4A40 tst.w D0
00001A50 6704 beq +0x6 /* 00001A56 */
00001A52 7007 moveq.l D0, 0x07
00001A54 6014 bra +0x16 /* 00001A6A */
label00001A56:
00001A56 2F0A move.l -[A7], A2
00001A58 3F07 move.w -[A7], D7
00001A5A A9A7 syscall SetResAttrs
00001A5C 2F0A move.l -[A7], A2
00001A5E A9A3 syscall ReleaseResource
00001A60 2F0E move.l -[A7], A6
00001A62 A9A3 syscall ReleaseResource
00001A64 2F05 move.l -[A7], D5
00001A66 A9A3 syscall ReleaseResource
00001A68 3003 move.w D0, D3
label00001A6A:
00001A6A 4FEF 0106 lea.l A7, [A7 + 0x106]
label00001A6E:
00001A6E 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00001A72 4E75 rts
fn00001A74:
00001A74 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00001A78 4FEF FFF0 lea.l A7, [A7 - 0x10]
00001A7C 246F 0034 movea.l A2, [A7 + 0x34]
00001A80 2C6F 0038 movea.l A6, [A7 + 0x38]
00001A84 7800 moveq.l D4, 0x00
00001A86 204A movea.l A0, A2
00001A88 A029 syscall HLock
00001A8A 2052 movea.l A0, [A2]
00001A8C 3C10 move.w D6, [A0]
00001A8E 7602 moveq.l D3, 0x02
00001A90 7A01 moveq.l D5, 0x01
00001A92 6044 bra +0x46 /* 00001AD8 */
label00001A94:
00001A94 2852 movea.l A4, [A2]
00001A96 D9C3 add.l A4, D3
00001A98 264C movea.l A3, A4
00001A9A 554F subq.w A7, 2
00001A9C 3F3C FFFF move.w -[A7], 0xFFFF
00001AA0 486F 0004 pea.l [A7 + 0x4]
00001AA4 A971 syscall EventAvail
00001AA6 101F move.b D0, [A7]+
00001AA8 1800 move.b D4, D0
00001AAA 286E 008C movea.l A4, [A6 + 0x8C]
00001AAE 4E94 jsr [A4]
00001AB0 4A00 tst.b D0
00001AB2 6704 beq +0x6 /* 00001AB8 */
00001AB4 7001 moveq.l D0, 0x01
00001AB6 602E bra +0x30 /* 00001AE6 */
label00001AB8:
00001AB8 2F0E move.l -[A7], A6
00001ABA 2F0B move.l -[A7], A3
00001ABC 4EBA FD0A jsr [PC - 0x2F6 /* 000017C8 */]
00001AC0 3800 move.w D4, D0
00001AC2 7000 moveq.l D0, 0x00
00001AC4 102B 0010 move.b D0, [A3 + 0x10]
00001AC8 7211 moveq.l D1, 0x11
00001ACA D081 add.l D0, D1
00001ACC D680 add.l D3, D0
00001ACE 7001 moveq.l D0, 0x01
00001AD0 C083 and.l D0, D3
00001AD2 D680 add.l D3, D0
00001AD4 5245 addq.w D5, 1
00001AD6 504F addq.w A7, 8
label00001AD8:
00001AD8 4A44 tst.w D4
00001ADA 6604 bne +0x6 /* 00001AE0 */
00001ADC BA46 cmp.w D5, D6
00001ADE 6FB4 ble -0x4A /* 00001A94 */
label00001AE0:
00001AE0 204A movea.l A0, A2
00001AE2 A02A syscall HUnlock
00001AE4 3004 move.w D0, D4
label00001AE6:
00001AE6 4FEF 0010 lea.l A7, [A7 + 0x10]
00001AEA 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00001AEE 4E75 rts
fn00001AF0:
00001AF0 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
00001AF4 4FEF FEFA lea.l A7, [A7 - 0x106]
00001AF8 286F 0126 movea.l A4, [A7 + 0x126]
00001AFC 7600 moveq.l D3, 0x00
00001AFE 204C movea.l A0, A4
00001B00 A029 syscall HLock
00001B02 2054 movea.l A0, [A4]
00001B04 3C10 move.w D6, [A0]
00001B06 7802 moveq.l D4, 0x02
00001B08 7A01 moveq.l D5, 0x01
00001B0A 6000 00AE bra +0xB0 /* 00001BBA */
label00001B0E:
00001B0E 2654 movea.l A3, [A4]
00001B10 D7C4 add.l A3, D4
00001B12 244B movea.l A2, A3
00001B14 4227 clr.b -[A7]
00001B16 A99B syscall SetResLoad
00001B18 594F subq.w A7, 4
00001B1A 2F2A 0004 move.l -[A7], [A2 + 0x4]
00001B1E 3F2A 0008 move.w -[A7], [A2 + 0x8]
00001B22 A81F syscall Get1Resource
00001B24 205F movea.l A0, [A7]+
00001B26 2648 movea.l A3, A0
00001B28 1F3C 0001 move.b -[A7], 0x1
00001B2C A99B syscall SetResLoad
00001B2E 200B move.l D0, A3
00001B30 4A80 tst.l D0
00001B32 660E bne +0x10 /* 00001B42 */
00001B34 4AAA 000C tst.l [A2 + 0xC]
00001B38 6604 bne +0x6 /* 00001B3E */
00001B3A 7600 moveq.l D3, 0x00
00001B3C 6052 bra +0x54 /* 00001B90 */
label00001B3E:
00001B3E 7604 moveq.l D3, 0x04
00001B40 604E bra +0x50 /* 00001B90 */
label00001B42:
00001B42 7604 moveq.l D3, 0x04
00001B44 594F subq.w A7, 4
00001B46 2F0B move.l -[A7], A3
00001B48 A9A5 syscall GetResourceSizeOnDisk/SizeResource/SizeRsrc
00001B4A 201F move.l D0, [A7]+
00001B4C B0AA 000C cmp.l D0, [A2 + 0xC]
00001B50 663E bne +0x40 /* 00001B90 */
00001B52 554F subq.w A7, 2
00001B54 2F0B move.l -[A7], A3
00001B56 A9A6 syscall GetResAttrs
00001B58 301F move.w D0, [A7]+
00001B5A 0280 0000 00FF andi.l D0, 0xFF
00001B60 B06A 000A cmp.w D0, [A2 + 0xA]
00001B64 662A bne +0x2C /* 00001B90 */
00001B66 2F0B move.l -[A7], A3
00001B68 486F 0004 pea.l [A7 + 0x4]
00001B6C 486F 000A pea.l [A7 + 0xA]
00001B70 486F 0012 pea.l [A7 + 0x12]
00001B74 A9A8 syscall GetResInfo
00001B76 554F subq.w A7, 2
00001B78 486F 0008 pea.l [A7 + 0x8]
00001B7C 486A 0010 pea.l [A2 + 0x10]
00001B80 4227 clr.b -[A7]
00001B82 1F3C 0001 move.b -[A7], 0x1
00001B86 4EAD FEC8 jsr [A5 - 0x138]
00001B8A 101F move.b D0, [A7]+
00001B8C 6702 beq +0x4 /* 00001B90 */
00001B8E 7600 moveq.l D3, 0x00
label00001B90:
00001B90 4A43 tst.w D3
00001B92 6712 beq +0x14 /* 00001BA6 */
00001B94 302A 0002 move.w D0, [A2 + 0x2]
00001B98 7202 moveq.l D1, 0x02
00001B9A C081 and.l D0, D1
00001B9C 6708 beq +0xA /* 00001BA6 */
00001B9E 006A 0004 0002 ori.w [A2 + 0x2], 0x4
00001BA4 7600 moveq.l D3, 0x00
label00001BA6:
00001BA6 7000 moveq.l D0, 0x00
00001BA8 102A 0010 move.b D0, [A2 + 0x10]
00001BAC 7211 moveq.l D1, 0x11
00001BAE D081 add.l D0, D1
00001BB0 D880 add.l D4, D0
00001BB2 7001 moveq.l D0, 0x01
00001BB4 C084 and.l D0, D4
00001BB6 D880 add.l D4, D0
00001BB8 5245 addq.w D5, 1
label00001BBA:
00001BBA 4A43 tst.w D3
00001BBC 6606 bne +0x8 /* 00001BC4 */
00001BBE BA46 cmp.w D5, D6
00001BC0 6F00 FF4C ble -0xB2 /* 00001B0E */
label00001BC4:
00001BC4 204C movea.l A0, A4
00001BC6 A02A syscall HUnlock
00001BC8 3003 move.w D0, D3
00001BCA 4FEF 0106 lea.l A7, [A7 + 0x106]
00001BCE 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00001BD2 4E75 rts
fn00001BD4:
00001BD4 48E7 1030 movem.l -[A7], D3,A2,A3
00001BD8 266F 0010 movea.l A3, [A7 + 0x10]
00001BDC 246F 0014 movea.l A2, [A7 + 0x14]
00001BE0 2F0B move.l -[A7], A3
00001BE2 4EBA FF0C jsr [PC - 0xF4 /* 00001AF0 */]
00001BE6 3600 move.w D3, D0
00001BE8 4A40 tst.w D0
00001BEA 584F addq.w A7, 4
00001BEC 6616 bne +0x18 /* 00001C04 */
00001BEE 3F2A 0092 move.w -[A7], [A2 + 0x92]
00001BF2 3F3C 0060 move.w -[A7], 0x60 /* '`' */
00001BF6 A9F7 syscall SetResFileAttrs
00001BF8 2F0A move.l -[A7], A2
00001BFA 2F0B move.l -[A7], A3
00001BFC 4EBA FE76 jsr [PC - 0x18A /* 00001A74 */]
00001C00 3600 move.w D3, D0
00001C02 504F addq.w A7, 8
label00001C04:
00001C04 3003 move.w D0, D3
00001C06 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001C0A 4E75 rts
fn00001C0C:
00001C0C 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00001C10 594F subq.w A7, 4
00001C12 2C6F 002C movea.l A6, [A7 + 0x2C]
00001C16 286F 0030 movea.l A4, [A7 + 0x30]
00001C1A 594F subq.w A7, 4
00001C1C 2F3C 7665 7273 move.l -[A7], 0x76657273 /* 'vers' */
00001C22 3F3C 0001 move.w -[A7], 0x1
00001C26 A81F syscall Get1Resource
00001C28 205F movea.l A0, [A7]+
00001C2A 2448 movea.l A2, A0
00001C2C 2008 move.l D0, A0
00001C2E 4A80 tst.l D0
00001C30 6706 beq +0x8 /* 00001C38 */
00001C32 2652 movea.l A3, [A2]
00001C34 2813 move.l D4, [A3]
00001C36 6002 bra +0x4 /* 00001C3A */
label00001C38:
00001C38 7800 moveq.l D4, 0x00
label00001C3A:
00001C3A 4254 clr.w [A4]
00001C3C 3C2E 002E move.w D6, [A6 + 0x2E]
00001C40 7E30 moveq.l D7, 0x30
00001C42 264E movea.l A3, A6
00001C44 D7C7 add.l A3, D7
00001C46 244B movea.l A2, A3
00001C48 2A12 move.l D5, [A2]
00001C4A 3006 move.w D0, D6
00001C4C 48C0 ext.l D0
00001C4E 5380 subq.l D0, 1
00001C50 720E moveq.l D1, 0x0E
00001C52 4EAD FB78 jsr [A5 - 0x488]
00001C56 D5C0 add.l A2, D0
00001C58 262A 0004 move.l D3, [A2 + 0x4]
00001C5C 2E83 move.l [A7], D3
00001C5E 6008 bra +0xA /* 00001C68 */
label00001C60:
00001C60 700E moveq.l D0, 0x0E
00001C62 95C0 sub.l A2, D0
00001C64 262A 0004 move.l D3, [A2 + 0x4]
label00001C68:
00001C68 4A83 tst.l D3
00001C6A 6604 bne +0x6 /* 00001C70 */
00001C6C B5CB cmpa.l A2, A3
00001C6E 64F0 bcc -0xE /* 00001C60 */
label00001C70:
00001C70 4A83 tst.l D3
00001C72 6602 bne +0x4 /* 00001C76 */
00001C74 2605 move.l D3, D5
label00001C76:
00001C76 B885 cmp.l D4, D5
00001C78 6C04 bge +0x6 /* 00001C7E */
00001C7A 7004 moveq.l D0, 0x04
00001C7C 6036 bra +0x38 /* 00001CB4 */
label00001C7E:
00001C7E B883 cmp.l D4, D3
00001C80 6E08 bgt +0xA /* 00001C8A */
00001C82 B883 cmp.l D4, D3
00001C84 6608 bne +0xA /* 00001C8E */
00001C86 4A97 tst.l [A7]
00001C88 6704 beq +0x6 /* 00001C8E */
label00001C8A:
00001C8A 7000 moveq.l D0, 0x00
00001C8C 6026 bra +0x28 /* 00001CB4 */
label00001C8E:
00001C8E 264E movea.l A3, A6
00001C90 D7C7 add.l A3, D7
00001C92 244B movea.l A2, A3
00001C94 7601 moveq.l D3, 0x01
00001C96 600E bra +0x10 /* 00001CA6 */
label00001C98:
00001C98 B892 cmp.l D4, [A2]
00001C9A 6604 bne +0x6 /* 00001CA0 */
00001C9C 3883 move.w [A4], D3
00001C9E 600A bra +0xC /* 00001CAA */
label00001CA0:
00001CA0 700E moveq.l D0, 0x0E
00001CA2 D5C0 add.l A2, D0
00001CA4 5243 addq.w D3, 1
label00001CA6:
00001CA6 B646 cmp.w D3, D6
00001CA8 6FEE ble -0x10 /* 00001C98 */
label00001CAA:
00001CAA 4A54 tst.w [A4]
00001CAC 6604 bne +0x6 /* 00001CB2 */
00001CAE 7004 moveq.l D0, 0x04
00001CB0 6002 bra +0x4 /* 00001CB4 */
label00001CB2:
00001CB2 7000 moveq.l D0, 0x00
label00001CB4:
00001CB4 584F addq.w A7, 4
00001CB6 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00001CBA 4E75 rts
fn00001CBC:
00001CBC 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00001CC0 4FEF FEF4 lea.l A7, [A7 - 0x10C]
00001CC4 246F 0136 movea.l A2, [A7 + 0x136]
00001CC8 7A00 moveq.l D5, 0x00
00001CCA 41EA 0046 lea.l A0, [A2 + 0x46]
00001CCE 43EF 0006 lea.l A1, [A7 + 0x6]
00001CD2 7022 moveq.l D0, 0x22
label00001CD4:
00001CD4 32D8 move.w [A1]+, [A0]+
00001CD6 51C8 FFFC dbf D0, -0x6 /* 00001CD4 */
00001CDA 41EA 0046 lea.l A0, [A2 + 0x46]
00001CDE 43EF 00C6 lea.l A1, [A7 + 0xC6]
00001CE2 7022 moveq.l D0, 0x22
label00001CE4:
00001CE4 32D8 move.w [A1]+, [A0]+
00001CE6 51C8 FFFC dbf D0, -0x6 /* 00001CE4 */
00001CEA 594F subq.w A7, 4
00001CEC 2F3C 5A56 4552 move.l -[A7], 0x5A564552 /* 'ZVER' */
00001CF2 3F2F 013C move.w -[A7], [A7 + 0x13C]
00001CF6 A80E syscall Get1IndResource/Get1IxResource
00001CF8 205F movea.l A0, [A7]+
00001CFA 2848 movea.l A4, A0
00001CFC 2008 move.l D0, A0
00001CFE 4A80 tst.l D0
00001D00 6700 027C beq +0x27E /* 00001F7E */
00001D04 7600 moveq.l D3, 0x00
00001D06 204C movea.l A0, A4
00001D08 A029 syscall HLock
00001D0A 2654 movea.l A3, [A4]
00001D0C 49EF 004C lea.l A4, [A7 + 0x4C]
00001D10 42AC 000C clr.l [A4 + 0xC]
00001D14 396A 0046 0016 move.w [A4 + 0x16], [A2 + 0x46]
00001D1A 422C 001A clr.b [A4 + 0x1A]
00001D1E 426C 001C clr.w [A4 + 0x1C]
00001D22 204A movea.l A0, A2
00001D24 41E8 004C lea.l A0, [A0 + 0x4C]
00001D28 2948 0012 move.l [A4 + 0x12], A0
00001D2C 296A 0048 0030 move.l [A4 + 0x30], [A2 + 0x48]
00001D32 41EF 004C lea.l A0, [A7 + 0x4C]
00001D36 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00001D38 3600 move.w D3, D0
00001D3A 4A40 tst.w D0
00001D3C 6706 beq +0x8 /* 00001D44 */
00001D3E 7004 moveq.l D0, 0x04
00001D40 6000 023E bra +0x240 /* 00001F80 */
label00001D44:
00001D44 202C 0020 move.l D0, [A4 + 0x20]
00001D48 B0AB 0002 cmp.l D0, [A3 + 0x2]
00001D4C 660A bne +0xC /* 00001D58 */
00001D4E 202C 0024 move.l D0, [A4 + 0x24]
00001D52 B0AB 0006 cmp.l D0, [A3 + 0x6]
00001D56 6706 beq +0x8 /* 00001D5E */
label00001D58:
00001D58 7004 moveq.l D0, 0x04
00001D5A 6000 0224 bra +0x226 /* 00001F80 */
label00001D5E:
00001D5E 2E2C 0036 move.l D7, [A4 + 0x36]
00001D62 282C 0040 move.l D4, [A4 + 0x40]
00001D66 42AF 0058 clr.l [A7 + 0x58]
00001D6A 426F 0068 clr.w [A7 + 0x68]
00001D6E 42AF 005E clr.l [A7 + 0x5E]
00001D72 3F6A 0046 0062 move.w [A7 + 0x62], [A2 + 0x46]
00001D78 41EF 004C lea.l A0, [A7 + 0x4C]
00001D7C A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00001D7E 3600 move.w D3, D0
00001D80 4A40 tst.w D0
00001D82 6706 beq +0x8 /* 00001D8A */
00001D84 7004 moveq.l D0, 0x04
00001D86 6000 01F8 bra +0x1FA /* 00001F80 */
label00001D8A:
00001D8A 7000 moveq.l D0, 0x00
00001D8C 302F 008A move.w D0, [A7 + 0x8A]
00001D90 222F 007C move.l D1, [A7 + 0x7C]
00001D94 4EAD FB78 jsr [A5 - 0x488]
00001D98 90AB 000A sub.l D0, [A3 + 0xA]
00001D9C D084 add.l D0, D4
00001D9E 0C80 0000 0800 cmpi.l D0, 0x800
00001DA4 6406 bcc +0x8 /* 00001DAC */
00001DA6 7005 moveq.l D0, 0x05
00001DA8 6000 01D6 bra +0x1D8 /* 00001F80 */
label00001DAC:
00001DAC 3F2A 0092 move.w -[A7], [A2 + 0x92]
00001DB0 A998 syscall UseResFile
00001DB2 426F 0004 clr.w [A7 + 0x4]
00001DB6 3C2B 002E move.w D6, [A3 + 0x2E]
00001DBA 4A46 tst.w D6
00001DBC 6724 beq +0x26 /* 00001DE2 */
00001DBE 486F 0004 pea.l [A7 + 0x4]
00001DC2 2F0B move.l -[A7], A3
00001DC4 4EBA FE46 jsr [PC - 0x1BA /* 00001C0C */]
00001DC8 3600 move.w D3, D0
00001DCA 4A43 tst.w D3
00001DCC 504F addq.w A7, 8
00001DCE 6706 beq +0x8 /* 00001DD6 */
00001DD0 3003 move.w D0, D3
00001DD2 6000 01AC bra +0x1AE /* 00001F80 */
label00001DD6:
00001DD6 4A6F 0004 tst.w [A7 + 0x4]
00001DDA 660C bne +0xE /* 00001DE8 */
00001DDC 7000 moveq.l D0, 0x00
00001DDE 6000 01A0 bra +0x1A2 /* 00001F80 */
label00001DE2:
00001DE2 7000 moveq.l D0, 0x00
00001DE4 6000 019A bra +0x19C /* 00001F80 */
label00001DE8:
00001DE8 3013 move.w D0, [A3]
00001DEA 7201 moveq.l D1, 0x01
00001DEC C081 and.l D0, D1
00001DEE 6700 00E8 beq +0xEA /* 00001ED8 */
00001DF2 4A43 tst.w D3
00001DF4 6636 bne +0x38 /* 00001E2C */
00001DF6 7000 moveq.l D0, 0x00
00001DF8 302F 008A move.w D0, [A7 + 0x8A]
00001DFC 222F 007C move.l D1, [A7 + 0x7C]
00001E00 4EAD FB78 jsr [A5 - 0x488]
00001E04 2840 movea.l A4, D0
00001E06 B8AB 000A cmp.l D4, [A3 + 0xA]
00001E0A 6504 bcs +0x6 /* 00001E10 */
00001E0C 2004 move.l D0, D4
00001E0E 6004 bra +0x6 /* 00001E14 */
label00001E10:
00001E10 202B 000A move.l D0, [A3 + 0xA]
label00001E14:
00001E14 2C40 movea.l A6, D0
00001E16 202F 007C move.l D0, [A7 + 0x7C]
00001E1A D080 add.l D0, D0
00001E1C 2807 move.l D4, D7
00001E1E D88E add.l D4, A6
00001E20 D880 add.l D4, D0
00001E22 B88C cmp.l D4, A4
00001E24 6306 bls +0x8 /* 00001E2C */
00001E26 7005 moveq.l D0, 0x05
00001E28 6000 0156 bra +0x158 /* 00001F80 */
label00001E2C:
00001E2C 4A43 tst.w D3
00001E2E 660A bne +0xC /* 00001E3A */
00001E30 3F2A 0092 move.w -[A7], [A2 + 0x92]
00001E34 A99A syscall CloseResFile
00001E36 426A 0092 clr.w [A2 + 0x92]
label00001E3A:
00001E3A 4A43 tst.w D3
00001E3C 660C bne +0xE /* 00001E4A */
00001E3E 486F 00C6 pea.l [A7 + 0xC6]
00001E42 4EBA E1C4 jsr [PC - 0x1E3C /* 00000008 */]
00001E46 3600 move.w D3, D0
00001E48 584F addq.w A7, 4
label00001E4A:
00001E4A 4A43 tst.w D3
00001E4C 662A bne +0x2C /* 00001E78 */
00001E4E 2EAD FA06 move.l [A7], [A5 - 0x5FA]
00001E52 2F17 move.l -[A7], [A7]
00001E54 4227 clr.b -[A7]
00001E56 486F 00D2 pea.l [A7 + 0xD2]
00001E5A 2F2F 00D2 move.l -[A7], [A7 + 0xD2]
00001E5E 3F2F 00D4 move.w -[A7], [A7 + 0xD4]
00001E62 486F 001C pea.l [A7 + 0x1C]
00001E66 2F2F 001C move.l -[A7], [A7 + 0x1C]
00001E6A 3F2F 001E move.w -[A7], [A7 + 0x1E]
00001E6E 4EBA E55C jsr [PC - 0x1AA4 /* 000003CC */]
00001E72 3600 move.w D3, D0
00001E74 4FEF 001A lea.l A7, [A7 + 0x1A]
label00001E78:
00001E78 4A43 tst.w D3
00001E7A 6616 bne +0x18 /* 00001E92 */
00001E7C 7A01 moveq.l D5, 0x01
00001E7E 554F subq.w A7, 2
00001E80 42A7 clr.l -[A7]
00001E82 3F2F 000C move.w -[A7], [A7 + 0xC]
00001E86 2F2F 0010 move.l -[A7], [A7 + 0x10]
00001E8A 4EAD FF90 jsr [A5 - 0x70]
00001E8E 301F move.w D0, [A7]+
00001E90 3600 move.w D3, D0
label00001E92:
00001E92 4A43 tst.w D3
00001E94 6616 bne +0x18 /* 00001EAC */
00001E96 554F subq.w A7, 2
00001E98 486F 000E pea.l [A7 + 0xE]
00001E9C A997 syscall OpenResFile
00001E9E 301F move.w D0, [A7]+
00001EA0 3540 0092 move.w [A2 + 0x92], D0
00001EA4 554F subq.w A7, 2
00001EA6 A9AF syscall ResError
00001EA8 301F move.w D0, [A7]+
00001EAA 3600 move.w D3, D0
label00001EAC:
00001EAC 4A43 tst.w D3
00001EAE 6606 bne +0x8 /* 00001EB6 */
00001EB0 3F2A 0092 move.w -[A7], [A2 + 0x92]
00001EB4 A998 syscall UseResFile
label00001EB6:
00001EB6 4A43 tst.w D3
00001EB8 671E beq +0x20 /* 00001ED8 */
00001EBA 4A05 tst.b D5
00001EBC 6714 beq +0x16 /* 00001ED2 */
00001EBE 486F 00CC pea.l [A7 + 0xCC]
00001EC2 2F2F 00CC move.l -[A7], [A7 + 0xCC]
00001EC6 3F2F 00CE move.w -[A7], [A7 + 0xCE]
00001ECA 4EBA E5DE jsr [PC - 0x1A22 /* 000004AA */]
00001ECE 4FEF 000A lea.l A7, [A7 + 0xA]
label00001ED2:
00001ED2 700A moveq.l D0, 0x0A
00001ED4 6000 00AA bra +0xAC /* 00001F80 */
label00001ED8:
00001ED8 7830 moveq.l D4, 0x30
00001EDA 6038 bra +0x3A /* 00001F14 */
label00001EDC:
00001EDC 284B movea.l A4, A3
00001EDE D9C4 add.l A4, D4
00001EE0 2C4C movea.l A6, A4
00001EE2 3F2A 0090 move.w -[A7], [A2 + 0x90]
00001EE6 A998 syscall UseResFile
00001EE8 594F subq.w A7, 4
00001EEA 2F3C 5A41 5023 move.l -[A7], 0x5A415023 /* 'ZAP#' */
00001EF0 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001EF4 A81F syscall Get1Resource
00001EF6 205F movea.l A0, [A7]+
00001EF8 2848 movea.l A4, A0
00001EFA 3F2A 0092 move.w -[A7], [A2 + 0x92]
00001EFE A998 syscall UseResFile
00001F00 2F0A move.l -[A7], A2
00001F02 2F0C move.l -[A7], A4
00001F04 4EBA FCCE jsr [PC - 0x332 /* 00001BD4 */]
00001F08 3600 move.w D3, D0
00001F0A 700E moveq.l D0, 0x0E
00001F0C D880 add.l D4, D0
00001F0E 526F 000C addq.w [A7 + 0xC], 1
00001F12 504F addq.w A7, 8
label00001F14:
00001F14 BC6F 0004 cmp.w D6, [A7 + 0x4]
00001F18 6D04 blt +0x6 /* 00001F1E */
00001F1A 4A43 tst.w D3
00001F1C 67BE beq -0x40 /* 00001EDC */
label00001F1E:
00001F1E 3013 move.w D0, [A3]
00001F20 7201 moveq.l D1, 0x01
00001F22 C081 and.l D0, D1
00001F24 6754 beq +0x56 /* 00001F7A */
00001F26 4A43 tst.w D3
00001F28 6616 bne +0x18 /* 00001F40 */
00001F2A 486F 00CC pea.l [A7 + 0xCC]
00001F2E 2F2F 00CC move.l -[A7], [A7 + 0xCC]
00001F32 3F2F 00CE move.w -[A7], [A7 + 0xCE]
00001F36 4EBA E572 jsr [PC - 0x1A8E /* 000004AA */]
00001F3A 4FEF 000A lea.l A7, [A7 + 0xA]
00001F3E 6036 bra +0x38 /* 00001F76 */
label00001F40:
00001F40 3F2A 0092 move.w -[A7], [A2 + 0x92]
00001F44 A99A syscall CloseResFile
00001F46 426A 0092 clr.w [A2 + 0x92]
00001F4A 486F 000C pea.l [A7 + 0xC]
00001F4E 2F2F 000C move.l -[A7], [A7 + 0xC]
00001F52 3F2F 000E move.w -[A7], [A7 + 0xE]
00001F56 4EBA E552 jsr [PC - 0x1AAE /* 000004AA */]
00001F5A 3800 move.w D4, D0
00001F5C 3F2F 00D0 move.w -[A7], [A7 + 0xD0]
00001F60 2F2F 00D4 move.l -[A7], [A7 + 0xD4]
00001F64 486F 00DC pea.l [A7 + 0xDC]
00001F68 486F 0020 pea.l [A7 + 0x20]
00001F6C 4EAD FFC0 jsr [A5 - 0x40]
00001F70 301F move.w D0, [A7]+
00001F72 3800 move.w D4, D0
00001F74 504F addq.w A7, 8
label00001F76:
00001F76 422A 0094 clr.b [A2 + 0x94]
label00001F7A:
00001F7A 3003 move.w D0, D3
00001F7C 6002 bra +0x4 /* 00001F80 */
label00001F7E:
00001F7E 7009 moveq.l D0, 0x09
label00001F80:
00001F80 4FEF 010C lea.l A7, [A7 + 0x10C]
00001F84 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00001F88 4E75 rts
fn00001F8A:
00001F8A 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00001F8E 4FEF FF5E lea.l A7, [A7 - 0xA2]
00001F92 266F 00BE movea.l A3, [A7 + 0xBE]
00001F96 246F 00C2 movea.l A2, [A7 + 0xC2]
00001F9A 554F subq.w A7, 2
00001F9C 42A7 clr.l -[A7]
00001F9E 486F 0010 pea.l [A7 + 0x10]
00001FA2 486F 0010 pea.l [A7 + 0x10]
00001FA6 4EAD FF88 jsr [A5 - 0x78]
00001FAA 301F move.w D0, [A7]+
00001FAC 3600 move.w D3, D0
00001FAE 4A40 tst.w D0
00001FB0 661C bne +0x1E /* 00001FCE */
00001FB2 554F subq.w A7, 2
00001FB4 3F2F 000C move.w -[A7], [A7 + 0xC]
00001FB8 486F 0004 pea.l [A7 + 0x4]
00001FBC 486F 000A pea.l [A7 + 0xA]
00001FC0 42A7 clr.l -[A7]
00001FC2 4EAD FFD0 jsr [A5 - 0x30]
00001FC6 301F move.w D0, [A7]+
00001FC8 3600 move.w D3, D0
00001FCA 4A40 tst.w D0
00001FCC 6706 beq +0x8 /* 00001FD4 */
label00001FCE:
00001FCE 7002 moveq.l D0, 0x02
00001FD0 6000 0164 bra +0x166 /* 00002136 */
label00001FD4:
00001FD4 554F subq.w A7, 2
00001FD6 A994 syscall CurResFile
00001FD8 301F move.w D0, [A7]+
00001FDA 3A00 move.w D5, D0
00001FDC 41D3 lea.l A0, [A3]
00001FDE 43EF 000C lea.l A1, [A7 + 0xC]
00001FE2 7022 moveq.l D0, 0x22
label00001FE4:
00001FE4 32D8 move.w [A1]+, [A0]+
00001FE6 51C8 FFFC dbf D0, -0x6 /* 00001FE4 */
00001FEA 41D2 lea.l A0, [A2]
00001FEC 43EF 0052 lea.l A1, [A7 + 0x52]
00001FF0 7022 moveq.l D0, 0x22
label00001FF2:
00001FF2 32D8 move.w [A1]+, [A0]+
00001FF4 51C8 FFFC dbf D0, -0x6 /* 00001FF2 */
00001FF8 2F6F 00C6 0098 move.l [A7 + 0x98], [A7 + 0xC6]
00001FFE 426F 009C clr.w [A7 + 0x9C]
00002002 426F 009E clr.w [A7 + 0x9E]
00002006 422F 00A0 clr.b [A7 + 0xA0]
0000200A 554F subq.w A7, 2
0000200C 42A7 clr.l -[A7]
0000200E 3F13 move.w -[A7], [A3]
00002010 2F2B 0002 move.l -[A7], [A3 + 0x2]
00002014 4EAD FF90 jsr [A5 - 0x70]
00002018 301F move.w D0, [A7]+
0000201A 3600 move.w D3, D0
0000201C 4A40 tst.w D0
0000201E 6600 00AA bne +0xAC /* 000020CA */
00002022 554F subq.w A7, 2
00002024 486B 0006 pea.l [A3 + 0x6]
00002028 A997 syscall OpenResFile
0000202A 301F move.w D0, [A7]+
0000202C 3F40 009C move.w [A7 + 0x9C], D0
00002030 554F subq.w A7, 2
00002032 A9AF syscall ResError
00002034 301F move.w D0, [A7]+
00002036 3600 move.w D3, D0
00002038 4A40 tst.w D0
0000203A 6600 008A bne +0x8C /* 000020C6 */
0000203E 4A6F 009C tst.w [A7 + 0x9C]
00002042 6700 0082 beq +0x84 /* 000020C6 */
00002046 0C6F FFFF 009C cmpi.w [A7 + 0x9C], 0xFFFF
0000204C 6778 beq +0x7A /* 000020C6 */
0000204E 554F subq.w A7, 2
00002050 42A7 clr.l -[A7]
00002052 3F12 move.w -[A7], [A2]
00002054 2F2A 0002 move.l -[A7], [A2 + 0x2]
00002058 4EAD FF90 jsr [A5 - 0x70]
0000205C 301F move.w D0, [A7]+
0000205E 3600 move.w D3, D0
00002060 4A40 tst.w D0
00002062 665E bne +0x60 /* 000020C2 */
00002064 554F subq.w A7, 2
00002066 486A 0006 pea.l [A2 + 0x6]
0000206A A997 syscall OpenResFile
0000206C 301F move.w D0, [A7]+
0000206E 3F40 009E move.w [A7 + 0x9E], D0
00002072 554F subq.w A7, 2
00002074 A9AF syscall ResError
00002076 301F move.w D0, [A7]+
00002078 3600 move.w D3, D0
0000207A 4A40 tst.w D0
0000207C 6640 bne +0x42 /* 000020BE */
0000207E 4A6F 009E tst.w [A7 + 0x9E]
00002082 673A beq +0x3C /* 000020BE */
00002084 0C6F FFFF 009E cmpi.w [A7 + 0x9E], 0xFFFF
0000208A 6732 beq +0x34 /* 000020BE */
0000208C 3F2F 009C move.w -[A7], [A7 + 0x9C]
00002090 A998 syscall UseResFile
00002092 554F subq.w A7, 2
00002094 2F3C 5A56 4552 move.l -[A7], 0x5A564552 /* 'ZVER' */
0000209A A80D syscall Count1Resources
0000209C 301F move.w D0, [A7]+
0000209E 3C00 move.w D6, D0
000020A0 7801 moveq.l D4, 0x01
000020A2 6010 bra +0x12 /* 000020B4 */
label000020A4:
000020A4 486F 000C pea.l [A7 + 0xC]
000020A8 3F04 move.w -[A7], D4
000020AA 4EBA FC10 jsr [PC - 0x3F0 /* 00001CBC */]
000020AE 3600 move.w D3, D0
000020B0 5244 addq.w D4, 1
000020B2 5C4F addq.w A7, 6
label000020B4:
000020B4 B846 cmp.w D4, D6
000020B6 6E14 bgt +0x16 /* 000020CC */
000020B8 4A43 tst.w D3
000020BA 67E8 beq -0x16 /* 000020A4 */
000020BC 600E bra +0x10 /* 000020CC */
label000020BE:
000020BE 7603 moveq.l D3, 0x03
000020C0 600A bra +0xC /* 000020CC */
label000020C2:
000020C2 7602 moveq.l D3, 0x02
000020C4 6006 bra +0x8 /* 000020CC */
label000020C6:
000020C6 7603 moveq.l D3, 0x03
000020C8 6002 bra +0x4 /* 000020CC */
label000020CA:
000020CA 7602 moveq.l D3, 0x02
label000020CC:
000020CC 4A6F 009E tst.w [A7 + 0x9E]
000020D0 670E beq +0x10 /* 000020E0 */
000020D2 0C6F FFFF 009E cmpi.w [A7 + 0x9E], 0xFFFF
000020D8 6706 beq +0x8 /* 000020E0 */
000020DA 3F2F 009E move.w -[A7], [A7 + 0x9E]
000020DE A99A syscall CloseResFile
label000020E0:
000020E0 4A6F 009C tst.w [A7 + 0x9C]
000020E4 670E beq +0x10 /* 000020F4 */
000020E6 0C6F FFFF 009C cmpi.w [A7 + 0x9C], 0xFFFF
000020EC 6706 beq +0x8 /* 000020F4 */
000020EE 3F2F 009C move.w -[A7], [A7 + 0x9C]
000020F2 A99A syscall CloseResFile
label000020F4:
000020F4 3F05 move.w -[A7], D5
000020F6 A998 syscall UseResFile
000020F8 7002 moveq.l D0, 0x02
000020FA B0AF 0002 cmp.l D0, [A7 + 0x2]
000020FE 6616 bne +0x18 /* 00002116 */
00002100 554F subq.w A7, 2
00002102 42A7 clr.l -[A7]
00002104 3F2F 0010 move.w -[A7], [A7 + 0x10]
00002108 2F2F 000E move.l -[A7], [A7 + 0xE]
0000210C 4EAD FF90 jsr [A5 - 0x70]
00002110 301F move.w D0, [A7]+
00002112 3800 move.w D4, D0
00002114 6010 bra +0x12 /* 00002126 */
label00002116:
00002116 554F subq.w A7, 2
00002118 42A7 clr.l -[A7]
0000211A 3F2F 0010 move.w -[A7], [A7 + 0x10]
0000211E 4EAD FEF8 jsr [A5 - 0x108]
00002122 301F move.w D0, [A7]+
00002124 3800 move.w D4, D0
label00002126:
00002126 4A43 tst.w D3
00002128 670A beq +0xC /* 00002134 */
0000212A 4A2F 00A0 tst.b [A7 + 0xA0]
0000212E 6704 beq +0x6 /* 00002134 */
00002130 48C3 ext.l D3
00002132 4483 neg.l D3
label00002134:
00002134 3003 move.w D0, D3
label00002136:
00002136 4FEF 00A2 lea.l A7, [A7 + 0xA2]
0000213A 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
0000213E 4E75 rts
fn00002140:
00002140 4FEF FFF6 lea.l A7, [A7 - 0xA]
00002144 3B6F 000E EC36 move.w [A5 - 0x13CA], [A7 + 0xE]
0000214A 3B6F 0010 EB28 move.w [A5 - 0x14D8], [A7 + 0x10]
00002150 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002154 3F2D EC36 move.w -[A7], [A5 - 0x13CA]
00002158 4EAD FE98 jsr [A5 - 0x168]
0000215C 2B48 EC32 move.l [A5 - 0x13CE], A0
00002160 B0FC 0000 cmpa.w A0, 0x0
00002164 584F addq.w A7, 4
00002166 6772 beq +0x74 /* 000021DA */
00002168 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
0000216C 3F3C 0001 move.w -[A7], 0x1
00002170 486F 000E pea.l [A7 + 0xE]
00002174 486D EC2E pea.l [A5 - 0x13D2]
00002178 486F 000E pea.l [A7 + 0xE]
0000217C A98D syscall GetDialogItem/GetDItem
0000217E 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
00002182 3F3C 0002 move.w -[A7], 0x2
00002186 486F 000E pea.l [A7 + 0xE]
0000218A 486D EC2A pea.l [A5 - 0x13D6]
0000218E 486F 000E pea.l [A7 + 0xE]
00002192 A98D syscall GetDialogItem/GetDItem
00002194 486D EB2A pea.l [A5 - 0x14D6]
00002198 3F2D EC36 move.w -[A7], [A5 - 0x13CA]
0000219C 3F3C 0001 move.w -[A7], 0x1
000021A0 4EAD FF80 jsr [A5 - 0x80]
000021A4 4AAD EC2A tst.l [A5 - 0x13D6]
000021A8 670A beq +0xC /* 000021B4 */
000021AA 2F2D EC2A move.l -[A7], [A5 - 0x13D6]
000021AE 486D EB2A pea.l [A5 - 0x14D6]
000021B2 A98F syscall SetDialogItemText/SetIText
label000021B4:
000021B4 3F3C 0007 move.w -[A7], 0x7
000021B8 4EAD FBA0 jsr [A5 - 0x460]
000021BC 4A00 tst.b D0
000021BE 544F addq.w A7, 2
000021C0 6718 beq +0x1A /* 000021DA */
000021C2 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
000021C6 A915 syscall ShowWindow
000021C8 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
000021CC A922 syscall BeginUpdate
000021CE 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
000021D2 A981 syscall DrawDialog
000021D4 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
000021D8 A923 syscall EndUpdate
label000021DA:
000021DA 4FEF 000A lea.l A7, [A7 + 0xA]
000021DE 4E75 rts
fn000021E0:
000021E0 2F03 move.l -[A7], D3
000021E2 4FEF FFEA lea.l A7, [A7 - 0x16]
000021E6 7600 moveq.l D3, 0x00
000021E8 4AAD EC32 tst.l [A5 - 0x13CE]
000021EC 6700 00BC beq +0xBE /* 000022AA */
000021F0 554F subq.w A7, 2
000021F2 3F3C 006E move.w -[A7], 0x6E /* 'n' */
000021F6 486F 000A pea.l [A7 + 0xA]
000021FA A970 syscall GetNextEvent
000021FC 101F move.b D0, [A7]+
000021FE 6700 00AA beq +0xAC /* 000022AA */
00002202 7000 moveq.l D0, 0x00
00002204 302F 0006 move.w D0, [A7 + 0x6]
00002208 5380 subq.l D0, 1
0000220A 670C beq +0xE /* 00002218 */
0000220C 5580 subq.l D0, 2
0000220E 673E beq +0x40 /* 0000224E */
00002210 5780 subq.l D0, 3
00002212 676A beq +0x6C /* 0000227E */
00002214 6000 0094 bra +0x96 /* 000022AA */
label00002218:
00002218 554F subq.w A7, 2
0000221A 486F 0008 pea.l [A7 + 0x8]
0000221E A97F syscall IsDialogEvent
00002220 101F move.b D0, [A7]+
00002222 6700 0086 beq +0x88 /* 000022AA */
00002226 554F subq.w A7, 2
00002228 486F 0008 pea.l [A7 + 0x8]
0000222C 486F 0006 pea.l [A7 + 0x6]
00002230 486F 000E pea.l [A7 + 0xE]
00002234 A980 syscall DialogSelect
00002236 101F move.b D0, [A7]+
00002238 6770 beq +0x72 /* 000022AA */
0000223A 2057 movea.l A0, [A7]
0000223C B1ED EC32 cmpa.l A0, [A5 - 0x13CE]
00002240 6668 bne +0x6A /* 000022AA */
00002242 0C6F 0001 0004 cmpi.w [A7 + 0x4], 0x1
00002248 6660 bne +0x62 /* 000022AA */
0000224A 7601 moveq.l D3, 0x01
0000224C 605C bra +0x5E /* 000022AA */
label0000224E:
0000224E 302F 0014 move.w D0, [A7 + 0x14]
00002252 0280 0000 0100 andi.l D0, 0x100
00002258 6750 beq +0x52 /* 000022AA */
0000225A 202F 0008 move.l D0, [A7 + 0x8]
0000225E 0280 0000 00FF andi.l D0, 0xFF
00002264 722E moveq.l D1, 0x2E
00002266 B081 cmp.l D0, D1
00002268 6640 bne +0x42 /* 000022AA */
0000226A 7601 moveq.l D3, 0x01
0000226C 4AAD EC2E tst.l [A5 - 0x13D2]
00002270 6738 beq +0x3A /* 000022AA */
00002272 2F2D EC2E move.l -[A7], [A5 - 0x13D2]
00002276 4EAD FBE8 jsr [A5 - 0x418]
0000227A 584F addq.w A7, 4
0000227C 602C bra +0x2E /* 000022AA */
label0000227E:
0000227E 206F 0008 movea.l A0, [A7 + 0x8]
00002282 B1ED EC32 cmpa.l A0, [A5 - 0x13CE]
00002286 6614 bne +0x16 /* 0000229C */
00002288 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
0000228C A922 syscall BeginUpdate
0000228E 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
00002292 A981 syscall DrawDialog
00002294 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
00002298 A923 syscall EndUpdate
0000229A 600E bra +0x10 /* 000022AA */
label0000229C:
0000229C 4EAD FCF8 jsr [A5 - 0x308]
000022A0 B1EF 0008 cmpa.l A0, [A7 + 0x8]
000022A4 6604 bne +0x6 /* 000022AA */
000022A6 4EAD FCE0 jsr [A5 - 0x320]
label000022AA:
000022AA 1003 move.b D0, D3
000022AC 4FEF 0016 lea.l A7, [A7 + 0x16]
000022B0 261F move.l D3, [A7]+
000022B2 4E75 rts
fn000022B4:
000022B4 48E7 1030 movem.l -[A7], D3,A2,A3
000022B8 266F 0010 movea.l A3, [A7 + 0x10]
000022BC 246F 0014 movea.l A2, [A7 + 0x14]
000022C0 7600 moveq.l D3, 0x00
000022C2 4AAD EC32 tst.l [A5 - 0x13CE]
000022C6 6764 beq +0x66 /* 0000232C */
000022C8 4A13 tst.b [A3]
000022CA 6756 beq +0x58 /* 00002322 */
000022CC 4AAD EC2A tst.l [A5 - 0x13D6]
000022D0 6750 beq +0x52 /* 00002322 */
000022D2 554F subq.w A7, 2
000022D4 2F0A move.l -[A7], A2
000022D6 486D FA0A pea.l [A5 - 0x5F6]
000022DA 1F3C 0001 move.b -[A7], 0x1
000022DE 1F3C 0001 move.b -[A7], 0x1
000022E2 4EAD FEC8 jsr [A5 - 0x138]
000022E6 101F move.b D0, [A7]+
000022E8 6638 bne +0x3A /* 00002322 */
000022EA 2F0A move.l -[A7], A2
000022EC 2F0B move.l -[A7], A3
000022EE 486D FA10 pea.l [A5 - 0x5F0]
000022F2 2F2F 0024 move.l -[A7], [A7 + 0x24]
000022F6 A98B syscall ParamText
000022F8 486D EB2A pea.l [A5 - 0x14D6]
000022FC 3F2D EC36 move.w -[A7], [A5 - 0x13CA]
00002300 7002 moveq.l D0, 0x02
00002302 B0AF 0022 cmp.l D0, [A7 + 0x22]
00002306 6704 beq +0x6 /* 0000230C */
00002308 7003 moveq.l D0, 0x03
0000230A 6002 bra +0x4 /* 0000230E */
label0000230C:
0000230C 7002 moveq.l D0, 0x02
label0000230E:
0000230E 7200 moveq.l D1, 0x00
00002310 1200 move.b D1, D0
00002312 3F01 move.w -[A7], D1
00002314 4EAD FF80 jsr [A5 - 0x80]
00002318 2F2D EC2A move.l -[A7], [A5 - 0x13D6]
0000231C 486D EB2A pea.l [A5 - 0x14D6]
00002320 A98F syscall SetDialogItemText/SetIText
label00002322:
00002322 422D E533 clr.b [A5 - 0x1ACD]
00002326 4EBA FEB8 jsr [PC - 0x148 /* 000021E0 */]
0000232A 1600 move.b D3, D0
label0000232C:
0000232C 1003 move.b D0, D3
0000232E 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002332 4E75 rts
fn00002334:
00002334 4AAD EC32 tst.l [A5 - 0x13CE]
00002338 6712 beq +0x14 /* 0000234C */
0000233A 4AAD EC2A tst.l [A5 - 0x13D6]
0000233E 670C beq +0xE /* 0000234C */
00002340 2F2D EC2A move.l -[A7], [A5 - 0x13D6]
00002344 2F2F 0008 move.l -[A7], [A7 + 0x8]
00002348 A990 syscall GetDialogItemText/GetIText
0000234A 6006 bra +0x8 /* 00002352 */
label0000234C:
0000234C 206F 0004 movea.l A0, [A7 + 0x4]
00002350 4210 clr.b [A0]
label00002352:
00002352 4E75 rts
fn00002354:
00002354 4AAD EC32 tst.l [A5 - 0x13CE]
00002358 6710 beq +0x12 /* 0000236A */
0000235A 4AAD EC2A tst.l [A5 - 0x13D6]
0000235E 670A beq +0xC /* 0000236A */
00002360 2F2D EC2A move.l -[A7], [A5 - 0x13D6]
00002364 2F2F 0008 move.l -[A7], [A7 + 0x8]
00002368 A98F syscall SetDialogItemText/SetIText
label0000236A:
0000236A 4E75 rts
0000236C 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00002370 246F 0020 movea.l A2, [A7 + 0x20]
00002374 266F 001C movea.l A3, [A7 + 0x1C]
00002378 7A00 moveq.l D5, 0x00
0000237A 7600 moveq.l D3, 0x00
0000237C 7000 moveq.l D0, 0x00
0000237E 3013 move.w D0, [A3]
00002380 5780 subq.l D0, 3
00002382 6708 beq +0xA /* 0000238C */
00002384 5780 subq.l D0, 3
00002386 6758 beq +0x5A /* 000023E0 */
00002388 6000 0088 bra +0x8A /* 00002412 */
label0000238C:
0000238C 282B 0002 move.l D4, [A3 + 0x2]
00002390 0284 0000 00FF andi.l D4, 0xFF
00002396 302B 000E move.w D0, [A3 + 0xE]
0000239A 0280 0000 0100 andi.l D0, 0x100
000023A0 672E beq +0x30 /* 000023D0 */
000023A2 0C04 0071 cmpi.b D4, 0x71 /* 'q' */
000023A6 6706 beq +0x8 /* 000023AE */
000023A8 0C04 0051 cmpi.b D4, 0x51 /* 'Q' */
000023AC 6604 bne +0x6 /* 000023B2 */
label000023AE:
000023AE 7601 moveq.l D3, 0x01
000023B0 6060 bra +0x62 /* 00002412 */
label000023B2:
000023B2 0C04 0063 cmpi.b D4, 0x63 /* 'c' */
000023B6 6706 beq +0x8 /* 000023BE */
000023B8 0C04 0043 cmpi.b D4, 0x43 /* 'C' */
000023BC 6654 bne +0x56 /* 00002412 */
label000023BE:
000023BE 3F3C 0001 move.w -[A7], 0x1
000023C2 4EAD FBA0 jsr [A5 - 0x460]
000023C6 4A00 tst.b D0
000023C8 544F addq.w A7, 2
000023CA 6746 beq +0x48 /* 00002412 */
000023CC 7602 moveq.l D3, 0x02
000023CE 6042 bra +0x44 /* 00002412 */
label000023D0:
000023D0 0C04 000D cmpi.b D4, 0xD /* '\r' */
000023D4 6706 beq +0x8 /* 000023DC */
000023D6 0C04 0003 cmpi.b D4, 0x3
000023DA 6636 bne +0x38 /* 00002412 */
label000023DC:
000023DC 7601 moveq.l D3, 0x01
000023DE 6032 bra +0x34 /* 00002412 */
label000023E0:
000023E0 B5ED EB24 cmpa.l A2, [A5 - 0x14DC]
000023E4 6620 bne +0x22 /* 00002406 */
000023E6 2F0A move.l -[A7], A2
000023E8 A922 syscall BeginUpdate
000023EA 2F0A move.l -[A7], A2
000023EC 2F2A 0018 move.l -[A7], [A2 + 0x18]
000023F0 A978 syscall UpdtDialog
000023F2 3F3C 0001 move.w -[A7], 0x1
000023F6 2F0A move.l -[A7], A2
000023F8 4EAD FE90 jsr [A5 - 0x170]
000023FC 2F0A move.l -[A7], A2
000023FE A923 syscall EndUpdate
00002400 4253 clr.w [A3]
00002402 5C4F addq.w A7, 6
00002404 600C bra +0xE /* 00002412 */
label00002406:
00002406 4EAD FCF8 jsr [A5 - 0x308]
0000240A B5C8 cmpa.l A2, A0
0000240C 6604 bne +0x6 /* 00002412 */
0000240E 4EAD FCE0 jsr [A5 - 0x320]
label00002412:
00002412 4A43 tst.w D3
00002414 6716 beq +0x18 /* 0000242C */
00002416 3F03 move.w -[A7], D3
00002418 2F0A move.l -[A7], A2
0000241A 4EAD FBE0 jsr [A5 - 0x420]
0000241E 4A00 tst.b D0
00002420 5C4F addq.w A7, 6
00002422 6708 beq +0xA /* 0000242C */
00002424 206F 0018 movea.l A0, [A7 + 0x18]
00002428 3083 move.w [A0], D3
0000242A 7A01 moveq.l D5, 0x01
label0000242C:
0000242C 1F45 0024 move.b [A7 + 0x24], D5
00002430 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00002434 205F movea.l A0, [A7]+
00002436 4FEF 000C lea.l A7, [A7 + 0xC]
0000243A 4ED0 jmp [A0]
fn0000243C:
0000243C 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
00002440 4FEF FFD4 lea.l A7, [A7 - 0x2C]
00002444 362F 0050 move.w D3, [A7 + 0x50]
00002448 2C6F 0052 movea.l A6, [A7 + 0x52]
0000244C 246F 0056 movea.l A2, [A7 + 0x56]
00002450 382F 005A move.w D4, [A7 + 0x5A]
00002454 286F 005C movea.l A4, [A7 + 0x5C]
00002458 7A00 moveq.l D5, 0x00
0000245A 4214 clr.b [A4]
0000245C 4A43 tst.w D3
0000245E 6702 beq +0x4 /* 00002462 */
00002460 7800 moveq.l D4, 0x00
label00002462:
00002462 4AAD EC32 tst.l [A5 - 0x13CE]
00002466 6710 beq +0x12 /* 00002478 */
00002468 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
0000246C A916 syscall HideWindow
0000246E 2F2D EC32 move.l -[A7], [A5 - 0x13CE]
00002472 A983 syscall DisposeDialog
00002474 42AD EC32 clr.l [A5 - 0x13CE]
label00002478:
00002478 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000247C 3F2D EB28 move.w -[A7], [A5 - 0x14D8]
00002480 4EAD FE98 jsr [A5 - 0x168]
00002484 2B48 EB24 move.l [A5 - 0x14DC], A0
00002488 B0FC 0000 cmpa.w A0, 0x0
0000248C 584F addq.w A7, 4
0000248E 6700 023E beq +0x240 /* 000026CE */
00002492 3F3C 0008 move.w -[A7], 0x8
00002496 4EAD FBA0 jsr [A5 - 0x460]
0000249A 4A00 tst.b D0
0000249C 544F addq.w A7, 2
0000249E 6704 beq +0x6 /* 000024A4 */
000024A0 4A43 tst.w D3
000024A2 6716 beq +0x18 /* 000024BA */
label000024A4:
000024A4 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000024A8 4EAD FBA0 jsr [A5 - 0x460]
000024AC 4A00 tst.b D0
000024AE 544F addq.w A7, 2
000024B0 6704 beq +0x6 /* 000024B6 */
000024B2 4A43 tst.w D3
000024B4 6604 bne +0x6 /* 000024BA */
label000024B6:
000024B6 7000 moveq.l D0, 0x00
000024B8 6002 bra +0x4 /* 000024BC */
label000024BA:
000024BA 7001 moveq.l D0, 0x01
label000024BC:
000024BC 1C00 move.b D6, D0
000024BE 47ED FD68 lea.l A3, [A5 - 0x298]
000024C2 4A06 tst.b D6
000024C4 6700 0186 beq +0x188 /* 0000264C */
000024C8 0C43 03E7 cmpi.w D3, 0x3E7
000024CC 6700 017E beq +0x180 /* 0000264C */
000024D0 4A44 tst.w D4
000024D2 6600 0178 bne +0x17A /* 0000264C */
000024D6 200B move.l D0, A3
000024D8 4A80 tst.l D0
000024DA 6700 0170 beq +0x172 /* 0000264C */
000024DE 3F3C 0001 move.w -[A7], 0x1
000024E2 4EAD FBA0 jsr [A5 - 0x460]
000024E6 1C00 move.b D6, D0
000024E8 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
000024EC 3F3C 0001 move.w -[A7], 0x1
000024F0 486F 0012 pea.l [A7 + 0x12]
000024F4 486D EB20 pea.l [A5 - 0x14E0]
000024F8 486F 0012 pea.l [A7 + 0x12]
000024FC A98D syscall GetDialogItem/GetDItem
000024FE 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
00002502 3F3C 0002 move.w -[A7], 0x2
00002506 486F 0012 pea.l [A7 + 0x12]
0000250A 486D EB1C pea.l [A5 - 0x14E4]
0000250E 486F 0012 pea.l [A7 + 0x12]
00002512 A98D syscall GetDialogItem/GetDItem
00002514 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
00002518 3F3C 0003 move.w -[A7], 0x3
0000251C 486F 0012 pea.l [A7 + 0x12]
00002520 486D EB18 pea.l [A5 - 0x14E8]
00002524 486F 0012 pea.l [A7 + 0x12]
00002528 A98D syscall GetDialogItem/GetDItem
0000252A 4878 002E push.l 0x2E /* '.' */
0000252E 201F move.l D0, [A7]+
00002530 A032 syscall FlushEvents
00002532 3043 movea.w A0, D3
00002534 2F08 move.l -[A7], A0
00002536 486F 0012 pea.l [A7 + 0x12]
0000253A 4EAD FF60 jsr [A5 - 0xA0]
0000253E 2F0E move.l -[A7], A6
00002540 486D FA0A pea.l [A5 - 0x5F6]
00002544 1F3C 0001 move.b -[A7], 0x1
00002548 1F3C 0001 move.b -[A7], 0x1
0000254C 4EAD FEC8 jsr [A5 - 0x138]
00002550 101F move.b D0, [A7]+
00002552 6610 bne +0x12 /* 00002564 */
00002554 2F0E move.l -[A7], A6
00002556 2F0A move.l -[A7], A2
00002558 486F 0014 pea.l [A7 + 0x14]
0000255C 486D FA10 pea.l [A5 - 0x5F0]
00002560 A98B syscall ParamText
00002562 6010 bra +0x12 /* 00002574 */
label00002564:
00002564 486D FA11 pea.l [A5 - 0x5EF]
00002568 2F0A move.l -[A7], A2
0000256A 486F 0014 pea.l [A7 + 0x14]
0000256E 486D FA10 pea.l [A5 - 0x5F0]
00002572 A98B syscall ParamText
label00002574:
00002574 4A43 tst.w D3
00002576 6D28 blt +0x2A /* 000025A0 */
00002578 4A43 tst.w D3
0000257A 6612 bne +0x14 /* 0000258E */
0000257C 4A06 tst.b D6
0000257E 6604 bne +0x6 /* 00002584 */
00002580 7002 moveq.l D0, 0x02
00002582 6002 bra +0x4 /* 00002586 */
label00002584:
00002584 7001 moveq.l D0, 0x01
label00002586:
00002586 7200 moveq.l D1, 0x00
00002588 1200 move.b D1, D0
0000258A 3601 move.w D3, D1
0000258C 6002 bra +0x4 /* 00002590 */
label0000258E:
0000258E 7603 moveq.l D3, 0x03
label00002590:
00002590 486D EA18 pea.l [A5 - 0x15E8]
00002594 3F2D EB28 move.w -[A7], [A5 - 0x14D8]
00002598 3F03 move.w -[A7], D3
0000259A 4EAD FF80 jsr [A5 - 0x80]
0000259E 6010 bra +0x12 /* 000025B0 */
label000025A0:
000025A0 3F03 move.w -[A7], D3
000025A2 3F3C 7D00 move.w -[A7], 0x7D00 /* '}\0' */
000025A6 486D EA18 pea.l [A5 - 0x15E8]
000025AA 4EBA E2F0 jsr [PC - 0x1D10 /* 0000089C */]
000025AE 504F addq.w A7, 8
label000025B0:
000025B0 4A2D EA18 tst.b [A5 - 0x15E8]
000025B4 6610 bne +0x12 /* 000025C6 */
000025B6 486D EA18 pea.l [A5 - 0x15E8]
000025BA 3F2D EB28 move.w -[A7], [A5 - 0x14D8]
000025BE 3F3C 0004 move.w -[A7], 0x4
000025C2 4EAD FF80 jsr [A5 - 0x80]
label000025C6:
000025C6 4AAD EB18 tst.l [A5 - 0x14E8]
000025CA 670A beq +0xC /* 000025D6 */
000025CC 2F2D EB18 move.l -[A7], [A5 - 0x14E8]
000025D0 486D EA18 pea.l [A5 - 0x15E8]
000025D4 A98F syscall SetDialogItemText/SetIText
label000025D6:
000025D6 4AAD EB1C tst.l [A5 - 0x14E4]
000025DA 670A beq +0xC /* 000025E6 */
000025DC 4A06 tst.b D6
000025DE 6606 bne +0x8 /* 000025E6 */
000025E0 2F2D EB1C move.l -[A7], [A5 - 0x14E4]
000025E4 A958 syscall HideControl
label000025E6:
000025E6 3F3C 0005 move.w -[A7], 0x5
000025EA A9C8 syscall SysBeep
000025EC 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
000025F0 A915 syscall ShowWindow
000025F2 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
000025F6 A922 syscall BeginUpdate
000025F8 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
000025FC 206D EB24 movea.l A0, [A5 - 0x14DC]
00002600 2F28 0018 move.l -[A7], [A0 + 0x18]
00002604 A978 syscall UpdtDialog
00002606 3F3C 0001 move.w -[A7], 0x1
0000260A 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
0000260E 4EAD FE90 jsr [A5 - 0x170]
00002612 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
00002616 A923 syscall EndUpdate
00002618 1B7C 0001 E533 move.b [A5 - 0x1ACD], 0x1
0000261E 486D E4A8 pea.l [A5 - 0x1B58]
00002622 A851 syscall SetCursor
00002624 7600 moveq.l D3, 0x00
00002626 5C4F addq.w A7, 6
00002628 601E bra +0x20 /* 00002648 */
label0000262A:
0000262A 2F0B move.l -[A7], A3
0000262C 486F 0004 pea.l [A7 + 0x4]
00002630 A991 syscall ModalDialog
00002632 3017 move.w D0, [A7]
00002634 48C0 ext.l D0
00002636 5380 subq.l D0, 1
00002638 6706 beq +0x8 /* 00002640 */
0000263A 5380 subq.l D0, 1
0000263C 6708 beq +0xA /* 00002646 */
0000263E 6008 bra +0xA /* 00002648 */
label00002640:
00002640 7601 moveq.l D3, 0x01
00002642 7A01 moveq.l D5, 0x01
00002644 6002 bra +0x4 /* 00002648 */
label00002646:
00002646 7601 moveq.l D3, 0x01
label00002648:
00002648 4A43 tst.w D3
0000264A 67DE beq -0x20 /* 0000262A */
label0000264C:
0000264C 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
00002650 A916 syscall HideWindow
00002652 2F2D EB24 move.l -[A7], [A5 - 0x14DC]
00002656 A983 syscall DisposeDialog
00002658 42AD EB24 clr.l [A5 - 0x14DC]
0000265C 4878 002E push.l 0x2E /* '.' */
00002660 201F move.l D0, [A7]+
00002662 A032 syscall FlushEvents
00002664 3F3C 0006 move.w -[A7], 0x6
00002668 4EAD FBA0 jsr [A5 - 0x460]
0000266C 1600 move.b D3, D0
0000266E 0C44 0002 cmpi.w D4, 0x2
00002672 544F addq.w A7, 2
00002674 6626 bne +0x28 /* 0000269C */
00002676 4A03 tst.b D3
00002678 671C beq +0x1E /* 00002696 */
0000267A 2F0A move.l -[A7], A2
0000267C 486D FA10 pea.l [A5 - 0x5F0]
00002680 486D FA10 pea.l [A5 - 0x5F0]
00002684 486D FA10 pea.l [A5 - 0x5F0]
00002688 A98B syscall ParamText
0000268A 2F3C 7D06 0001 move.l -[A7], 0x7D060001
00002690 4EAD FBA8 jsr [A5 - 0x458]
00002694 584F addq.w A7, 4
label00002696:
00002696 18BC 0001 move.b [A4], 0x1
0000269A 6032 bra +0x34 /* 000026CE */
label0000269C:
0000269C 0C44 0001 cmpi.w D4, 0x1
000026A0 662C bne +0x2E /* 000026CE */
000026A2 2F0A move.l -[A7], A2
000026A4 486D FA10 pea.l [A5 - 0x5F0]
000026A8 486D FA10 pea.l [A5 - 0x5F0]
000026AC 486D FA10 pea.l [A5 - 0x5F0]
000026B0 A98B syscall ParamText
000026B2 4A03 tst.b D3
000026B4 6710 beq +0x12 /* 000026C6 */
000026B6 2F3C 7D05 0001 move.l -[A7], 0x7D050001
000026BC 4EAD FBB0 jsr [A5 - 0x450]
000026C0 4A00 tst.b D0
000026C2 584F addq.w A7, 4
000026C4 6604 bne +0x6 /* 000026CA */
label000026C6:
000026C6 4A03 tst.b D3
000026C8 6604 bne +0x6 /* 000026CE */
label000026CA:
000026CA 18BC 0001 move.b [A4], 0x1
label000026CE:
000026CE 1005 move.b D0, D5
000026D0 4FEF 002C lea.l A7, [A7 + 0x2C]
000026D4 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
000026D8 4E75 rts
fn000026DA:
000026DA 2F03 move.l -[A7], D3
000026DC 7600 moveq.l D3, 0x00
000026DE 486D ED7C pea.l [A5 - 0x1284]
000026E2 3F3C 7D05 move.w -[A7], 0x7D05
000026E6 206F 000E movea.l A0, [A7 + 0xE]
000026EA 3028 0002 move.w D0, [A0 + 0x2]
000026EE 48C0 ext.l D0
000026F0 5280 addq.l D0, 1
000026F2 3F00 move.w -[A7], D0
000026F4 4EAD FF80 jsr [A5 - 0x80]
000026F8 486D EC7C pea.l [A5 - 0x1384]
000026FC 2F2F 0012 move.l -[A7], [A7 + 0x12]
00002700 3F2F 0014 move.w -[A7], [A7 + 0x14]
00002704 4EAD FBB8 jsr [A5 - 0x448]
00002708 2F2F 0018 move.l -[A7], [A7 + 0x18]
0000270C 486D EC7C pea.l [A5 - 0x1384]
00002710 486D EC3C pea.l [A5 - 0x13C4]
00002714 486D ED7C pea.l [A5 - 0x1284]
00002718 4EBA FB9A jsr [PC - 0x466 /* 000022B4 */]
0000271C 4A00 tst.b D0
0000271E 4FEF 001A lea.l A7, [A7 + 0x1A]
00002722 6702 beq +0x4 /* 00002726 */
00002724 7601 moveq.l D3, 0x01
label00002726:
00002726 3003 move.w D0, D3
00002728 261F move.l D3, [A7]+
0000272A 4E75 rts
fn0000272C:
0000272C 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00002730 594F subq.w A7, 4
00002732 2C6F 0020 movea.l A6, [A7 + 0x20]
00002736 286F 0024 movea.l A4, [A7 + 0x24]
0000273A 244E movea.l A2, A6
0000273C 528A addq.l A2, 1
0000273E 264C movea.l A3, A4
00002740 528B addq.l A3, 1
00002742 7600 moveq.l D3, 0x00
00002744 7800 moveq.l D4, 0x00
00002746 1816 move.b D4, [A6]
00002748 D5C4 add.l A2, D4
0000274A 6002 bra +0x4 /* 0000274E */
label0000274C:
0000274C 5243 addq.w D3, 1
label0000274E:
0000274E 2004 move.l D0, D4
00002750 5384 subq.l D4, 1
00002752 4A80 tst.l D0
00002754 6F06 ble +0x8 /* 0000275C */
00002756 0C22 003A cmpi.b -[A2], 0x3A /* ':' */
0000275A 66F0 bne -0xE /* 0000274C */
label0000275C:
0000275C 0C43 0020 cmpi.w D3, 0x20 /* ' ' */
00002760 6D08 blt +0xA /* 0000276A */
00002762 761F moveq.l D3, 0x1F
00002764 6004 bra +0x6 /* 0000276A */
label00002766:
00002766 528A addq.l A2, 1
00002768 16D2 move.b [A3]+, [A2]
label0000276A:
0000276A 3003 move.w D0, D3
0000276C 5343 subq.w D3, 1
0000276E 4A40 tst.w D0
00002770 66F4 bne -0xA /* 00002766 */
00002772 594F subq.w A7, 4
00002774 2F0C move.l -[A7], A4
00002776 4EAD FF68 jsr [A5 - 0x98]
0000277A 205F movea.l A0, [A7]+
0000277C 2E88 move.l [A7], A0
0000277E 594F subq.w A7, 4
00002780 2F0B move.l -[A7], A3
00002782 4EAD FF68 jsr [A5 - 0x98]
00002786 205F movea.l A0, [A7]+
00002788 91D7 sub.l A0, [A7]
0000278A 5388 subq.l A0, 1
0000278C 2008 move.l D0, A0
0000278E 1880 move.b [A4], D0
00002790 584F addq.w A7, 4
00002792 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00002796 4E75 rts
fn00002798:
00002798 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
0000279C 4FEF FF1A lea.l A7, [A7 - 0xE6]
000027A0 286F 00FE movea.l A4, [A7 + 0xFE]
000027A4 266F 0102 movea.l A3, [A7 + 0x102]
000027A8 246F 0106 movea.l A2, [A7 + 0x106]
000027AC 2C6F 010A movea.l A6, [A7 + 0x10A]
000027B0 7600 moveq.l D3, 0x00
000027B2 4253 clr.w [A3]
000027B4 4292 clr.l [A2]
000027B6 4216 clr.b [A6]
000027B8 4A6C 0004 tst.w [A4 + 0x4]
000027BC 6634 bne +0x36 /* 000027F2 */
000027BE 41EC 0006 lea.l A0, [A4 + 0x6]
000027C2 43ED F0E0 lea.l A1, [A5 - 0xF20]
000027C6 203C 0000 0100 move.l D0, 0x100
000027CC A02E syscall BlockMove/BlockMoveData
000027CE 41ED F0E0 lea.l A0, [A5 - 0xF20]
000027D2 2F48 0012 move.l [A7 + 0x12], A0
000027D6 3F7C 8000 0016 move.w [A7 + 0x16], 0x8000
000027DC 3F7C FFFF 001C move.w [A7 + 0x1C], 0xFFFF
000027E2 41D7 lea.l A0, [A7]
000027E4 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000027E6 3600 move.w D3, D0
000027E8 4A43 tst.w D3
000027EA 662C bne +0x2E /* 00002818 */
000027EC 36AF 0016 move.w [A3], [A7 + 0x16]
000027F0 6026 bra +0x28 /* 00002818 */
label000027F2:
000027F2 0C6C 0001 0004 cmpi.w [A4 + 0x4], 0x1
000027F8 660A bne +0xC /* 00002804 */
000027FA 36AD E906 move.w [A3], [A5 - 0x16FA]
000027FE 24AD E902 move.l [A2], [A5 - 0x16FE]
00002802 6014 bra +0x16 /* 00002818 */
label00002804:
00002804 0C6C 0002 0004 cmpi.w [A4 + 0x4], 0x2
0000280A 660A bne +0xC /* 00002816 */
0000280C 36AD EE80 move.w [A3], [A5 - 0x1180]
00002810 24AD EE7C move.l [A2], [A5 - 0x1184]
00002814 6002 bra +0x4 /* 00002818 */
label00002816:
00002816 76FF moveq.l D3, 0xFFFFFFFF
label00002818:
00002818 4A43 tst.w D3
0000281A 663E bne +0x40 /* 0000285A */
0000281C 41EC 0006 lea.l A0, [A4 + 0x6]
00002820 43ED F0E0 lea.l A1, [A5 - 0xF20]
00002824 203C 0000 0100 move.l D0, 0x100
0000282A A02E syscall BlockMove/BlockMoveData
0000282C 3F53 0090 move.w [A7 + 0x90], [A3]
00002830 2F52 00AA move.l [A7 + 0xAA], [A2]
00002834 41ED F0E0 lea.l A0, [A5 - 0xF20]
00002838 2F48 008C move.l [A7 + 0x8C], A0
0000283C 426F 0096 clr.w [A7 + 0x96]
00002840 41EF 007A lea.l A0, [A7 + 0x7A]
00002844 7009 moveq.l D0, 0x09
00002846 A260 syscall FSDispatch/HFSDispatch, flags=2
00002848 3600 move.w D3, D0
0000284A 4A43 tst.w D3
0000284C 660C bne +0xE /* 0000285A */
0000284E 102F 0098 move.b D0, [A7 + 0x98]
00002852 7210 moveq.l D1, 0x10
00002854 C081 and.l D0, D1
00002856 6702 beq +0x4 /* 0000285A */
00002858 76D5 moveq.l D3, 0xFFFFFFD5
label0000285A:
0000285A 4A43 tst.w D3
0000285C 6610 bne +0x12 /* 0000286E */
0000285E 24AF 00DE move.l [A2], [A7 + 0xDE]
00002862 2F0E move.l -[A7], A6
00002864 486D F0E0 pea.l [A5 - 0xF20]
00002868 4EBA FEC2 jsr [PC - 0x13E /* 0000272C */]
0000286C 504F addq.w A7, 8
label0000286E:
0000286E 3003 move.w D0, D3
00002870 4FEF 00E6 lea.l A7, [A7 + 0xE6]
00002874 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002878 4E75 rts
fn0000287A:
0000287A 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
0000287E 7600 moveq.l D3, 0x00
00002880 554F subq.w A7, 2
00002882 A994 syscall CurResFile
00002884 301F move.w D0, [A7]+
00002886 3A00 move.w D5, D0
00002888 4227 clr.b -[A7]
0000288A A99B syscall SetResLoad
0000288C 554F subq.w A7, 2
0000288E 3F2F 0016 move.w -[A7], [A7 + 0x16]
00002892 2F2F 001A move.l -[A7], [A7 + 0x1A]
00002896 2F2F 0022 move.l -[A7], [A7 + 0x22]
0000289A 1F3C 0001 move.b -[A7], 0x1
0000289E 4EAD FFD8 jsr [A5 - 0x28]
000028A2 301F move.w D0, [A7]+
000028A4 3800 move.w D4, D0
000028A6 554F subq.w A7, 2
000028A8 A9AF syscall ResError
000028AA 301F move.w D0, [A7]+
000028AC 3600 move.w D3, D0
000028AE 1F3C 0001 move.b -[A7], 0x1
000028B2 A99B syscall SetResLoad
000028B4 0C44 FFFF cmpi.w D4, 0xFFFF
000028B8 6736 beq +0x38 /* 000028F0 */
000028BA 594F subq.w A7, 4
000028BC 2F3C 7665 7273 move.l -[A7], 0x76657273 /* 'vers' */
000028C2 3F3C 0001 move.w -[A7], 0x1
000028C6 A81F syscall Get1Resource
000028C8 205F movea.l A0, [A7]+
000028CA 2448 movea.l A2, A0
000028CC 200A move.l D0, A2
000028CE 4A80 tst.l D0
000028D0 670A beq +0xC /* 000028DC */
000028D2 2052 movea.l A0, [A2]
000028D4 226F 001E movea.l A1, [A7 + 0x1E]
000028D8 2290 move.l [A1], [A0]
000028DA 6010 bra +0x12 /* 000028EC */
label000028DC:
000028DC 554F subq.w A7, 2
000028DE A9AF syscall ResError
000028E0 301F move.w D0, [A7]+
000028E2 3600 move.w D3, D0
000028E4 4A43 tst.w D3
000028E6 6604 bne +0x6 /* 000028EC */
000028E8 363C FF40 move.w D3, 0xFF40
label000028EC:
000028EC 3F04 move.w -[A7], D4
000028EE A99A syscall CloseResFile
label000028F0:
000028F0 3F05 move.w -[A7], D5
000028F2 A998 syscall UseResFile
000028F4 3003 move.w D0, D3
000028F6 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000028FA 4E75 rts
fn000028FC:
000028FC 48E7 1030 movem.l -[A7], D3,A2,A3
00002900 4FEF FFBA lea.l A7, [A7 - 0x46]
00002904 246F 0056 movea.l A2, [A7 + 0x56]
00002908 266F 005E movea.l A3, [A7 + 0x5E]
0000290C 4AAA 007C tst.l [A2 + 0x7C]
00002910 6608 bne +0xA /* 0000291A */
00002912 203C 6172 6368 move.l D0, 0x61726368 /* 'arch' */
00002918 6006 bra +0x8 /* 00002920 */
label0000291A:
0000291A 206A 007C movea.l A0, [A2 + 0x7C]
0000291E 2010 move.l D0, [A0]
label00002920:
00002920 2600 move.l D3, D0
00002922 0C83 6172 6368 cmpi.l D3, 0x61726368 /* 'arch' */
00002928 6712 beq +0x14 /* 0000293C */
0000292A 0C83 6C6F 6F73 cmpi.l D3, 0x6C6F6F73 /* 'loos' */
00002930 671A beq +0x1C /* 0000294C */
00002932 0C83 6674 7020 cmpi.l D3, 0x66747020 /* 'ftp ' */
00002938 6748 beq +0x4A /* 00002982 */
0000293A 605C bra +0x5E /* 00002998 */
label0000293C:
0000293C 2F0B move.l -[A7], A3
0000293E 2F2F 005E move.l -[A7], [A7 + 0x5E]
00002942 4EAD FE48 jsr [A5 - 0x1B8]
00002946 3600 move.w D3, D0
00002948 504F addq.w A7, 8
0000294A 604E bra +0x50 /* 0000299A */
label0000294C:
0000294C 4857 pea.l [A7]
0000294E 486F 0044 pea.l [A7 + 0x44]
00002952 486F 004C pea.l [A7 + 0x4C]
00002956 2F2A 007C move.l -[A7], [A2 + 0x7C]
0000295A 4EBA FE3C jsr [PC - 0x1C4 /* 00002798 */]
0000295E 3600 move.w D3, D0
00002960 4A43 tst.w D3
00002962 4FEF 0010 lea.l A7, [A7 + 0x10]
00002966 6632 bne +0x34 /* 0000299A */
00002968 2F0B move.l -[A7], A3
0000296A 486F 0004 pea.l [A7 + 0x4]
0000296E 2F2F 0048 move.l -[A7], [A7 + 0x48]
00002972 3F2F 0050 move.w -[A7], [A7 + 0x50]
00002976 4EBA FF02 jsr [PC - 0xFE /* 0000287A */]
0000297A 3600 move.w D3, D0
0000297C 4FEF 000E lea.l A7, [A7 + 0xE]
00002980 6018 bra +0x1A /* 0000299A */
label00002982:
00002982 486D FD60 pea.l [A5 - 0x2A0]
00002986 2F0B move.l -[A7], A3
00002988 2F2A 007C move.l -[A7], [A2 + 0x7C]
0000298C 4EBA ECD2 jsr [PC - 0x132E /* 00001660 */]
00002990 3600 move.w D3, D0
00002992 4FEF 000C lea.l A7, [A7 + 0xC]
00002996 6002 bra +0x4 /* 0000299A */
label00002998:
00002998 76FF moveq.l D3, 0xFFFFFFFF
label0000299A:
0000299A 3003 move.w D0, D3
0000299C 4FEF 0046 lea.l A7, [A7 + 0x46]
000029A0 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000029A4 4E75 rts
fn000029A6:
000029A6 48E7 1030 movem.l -[A7], D3,A2,A3
000029AA 4FEF FF86 lea.l A7, [A7 - 0x7A]
000029AE 266F 0094 movea.l A3, [A7 + 0x94]
000029B2 246F 0098 movea.l A2, [A7 + 0x98]
000029B6 3F6F 008A 0016 move.w [A7 + 0x16], [A7 + 0x8A]
000029BC 2F6F 008C 0030 move.l [A7 + 0x30], [A7 + 0x8C]
000029C2 2F6F 0090 0012 move.l [A7 + 0x12], [A7 + 0x90]
000029C8 422F 001F clr.b [A7 + 0x1F]
000029CC 422F 001A clr.b [A7 + 0x1A]
000029D0 426F 001C clr.w [A7 + 0x1C]
000029D4 41D7 lea.l A0, [A7]
000029D6 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
000029D8 3600 move.w D3, D0
000029DA 4A43 tst.w D3
000029DC 660A bne +0xC /* 000029E8 */
000029DE 26AF 0048 move.l [A3], [A7 + 0x48]
000029E2 24AF 004C move.l [A2], [A7 + 0x4C]
000029E6 6004 bra +0x6 /* 000029EC */
label000029E8:
000029E8 4292 clr.l [A2]
000029EA 4293 clr.l [A3]
label000029EC:
000029EC 3003 move.w D0, D3
000029EE 4FEF 007A lea.l A7, [A7 + 0x7A]
000029F2 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000029F6 4E75 rts
fn000029F8:
000029F8 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
000029FC 4FEF FFBA lea.l A7, [A7 - 0x46]
00002A00 266F 005E movea.l A3, [A7 + 0x5E]
00002A04 246F 0062 movea.l A2, [A7 + 0x62]
00002A08 2C6F 0066 movea.l A6, [A7 + 0x66]
00002A0C 286F 006A movea.l A4, [A7 + 0x6A]
00002A10 4AAB 007C tst.l [A3 + 0x7C]
00002A14 6608 bne +0xA /* 00002A1E */
00002A16 203C 6172 6368 move.l D0, 0x61726368 /* 'arch' */
00002A1C 6006 bra +0x8 /* 00002A24 */
label00002A1E:
00002A1E 206B 007C movea.l A0, [A3 + 0x7C]
00002A22 2010 move.l D0, [A0]
label00002A24:
00002A24 2600 move.l D3, D0
00002A26 0C83 6172 6368 cmpi.l D3, 0x61726368 /* 'arch' */
00002A2C 6712 beq +0x14 /* 00002A40 */
00002A2E 0C83 6C6F 6F73 cmpi.l D3, 0x6C6F6F73 /* 'loos' */
00002A34 6736 beq +0x38 /* 00002A6C */
00002A36 0C83 6674 7020 cmpi.l D3, 0x66747020 /* 'ftp ' */
00002A3C 6766 beq +0x68 /* 00002AA4 */
00002A3E 607C bra +0x7E /* 00002ABC */
label00002A40:
00002A40 2052 movea.l A0, [A2]
00002A42 705C moveq.l D0, 0x5C
00002A44 C1E8 0050 muls.w D0, [A0 + 0x50]
00002A48 2052 movea.l A0, [A2]
00002A4A 2068 004A movea.l A0, [A0 + 0x4A]
00002A4E 2250 movea.l A1, [A0]
00002A50 2CB1 0832 move.l [A6], [A1 + D0 + 0x32]
00002A54 2052 movea.l A0, [A2]
00002A56 705C moveq.l D0, 0x5C
00002A58 C1E8 0050 muls.w D0, [A0 + 0x50]
00002A5C 2052 movea.l A0, [A2]
00002A5E 2068 004A movea.l A0, [A0 + 0x4A]
00002A62 2250 movea.l A1, [A0]
00002A64 28B1 0836 move.l [A4], [A1 + D0 + 0x36]
00002A68 7600 moveq.l D3, 0x00
00002A6A 6052 bra +0x54 /* 00002ABE */
label00002A6C:
00002A6C 4857 pea.l [A7]
00002A6E 486F 0044 pea.l [A7 + 0x44]
00002A72 486F 004C pea.l [A7 + 0x4C]
00002A76 2F2B 007C move.l -[A7], [A3 + 0x7C]
00002A7A 4EBA FD1C jsr [PC - 0x2E4 /* 00002798 */]
00002A7E 3600 move.w D3, D0
00002A80 4A43 tst.w D3
00002A82 4FEF 0010 lea.l A7, [A7 + 0x10]
00002A86 6636 bne +0x38 /* 00002ABE */
00002A88 2F0C move.l -[A7], A4
00002A8A 2F0E move.l -[A7], A6
00002A8C 486F 0008 pea.l [A7 + 0x8]
00002A90 2F2F 004C move.l -[A7], [A7 + 0x4C]
00002A94 3F2F 0054 move.w -[A7], [A7 + 0x54]
00002A98 4EBA FF0C jsr [PC - 0xF4 /* 000029A6 */]
00002A9C 3600 move.w D3, D0
00002A9E 4FEF 0012 lea.l A7, [A7 + 0x12]
00002AA2 601A bra +0x1C /* 00002ABE */
label00002AA4:
00002AA4 486D FD60 pea.l [A5 - 0x2A0]
00002AA8 2F0C move.l -[A7], A4
00002AAA 2F0E move.l -[A7], A6
00002AAC 2F2B 007C move.l -[A7], [A3 + 0x7C]
00002AB0 4EBA EBCE jsr [PC - 0x1432 /* 00001680 */]
00002AB4 3600 move.w D3, D0
00002AB6 4FEF 0010 lea.l A7, [A7 + 0x10]
00002ABA 6002 bra +0x4 /* 00002ABE */
label00002ABC:
00002ABC 76FF moveq.l D3, 0xFFFFFFFF
label00002ABE:
00002ABE 3003 move.w D0, D3
00002AC0 4FEF 0046 lea.l A7, [A7 + 0x46]
00002AC4 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002AC8 4E75 rts
fn00002ACA:
00002ACA 48E7 1820 movem.l -[A7], D3,D4,A2
00002ACE 4FEF FEF4 lea.l A7, [A7 - 0x10C]
00002AD2 246F 011C movea.l A2, [A7 + 0x11C]
00002AD6 7601 moveq.l D3, 0x01
00002AD8 4A6A 0084 tst.w [A2 + 0x84]
00002ADC 6700 015C beq +0x15E /* 00002C3A */
00002AE0 7600 moveq.l D3, 0x00
00002AE2 2F2A 0080 move.l -[A7], [A2 + 0x80]
00002AE6 486F 0108 pea.l [A7 + 0x108]
00002AEA 486F 0008 pea.l [A7 + 0x8]
00002AEE 4EBA 2C52 jsr [PC + 0x2C52 /* 00005742 */]
00002AF2 4AAF 0104 tst.l [A7 + 0x104]
00002AF6 6700 0142 beq +0x144 /* 00002C3A */
00002AFA 2017 move.l D0, [A7]
00002AFC 0480 6C6F 6E67 subi.l D0, 0x6C6F6E67 /* 'long' */
00002B02 670E beq +0x10 /* 00002B12 */
00002B04 0480 0404 060B subi.l D0, 0x404060B
00002B0A 6700 00BE beq +0xC0 /* 00002BCA */
00002B0E 6000 012A bra +0x12C /* 00002C3A */
label00002B12:
00002B12 206F 0104 movea.l A0, [A7 + 0x104]
00002B16 2050 movea.l A0, [A0]
00002B18 2810 move.l D4, [A0]
00002B1A 486A 0086 pea.l [A2 + 0x86]
00002B1E 486F 010C pea.l [A7 + 0x10C]
00002B22 4EAD FF58 jsr [A5 - 0xA8]
00002B26 7000 moveq.l D0, 0x00
00002B28 302A 0084 move.w D0, [A2 + 0x84]
00002B2C 0480 0000 213D subi.l D0, 0x213D /* '!=' */
00002B32 6762 beq +0x64 /* 00002B96 */
00002B34 0480 0000 1AE3 subi.l D0, 0x1AE3
00002B3A 6724 beq +0x26 /* 00002B60 */
00002B3C 0480 0000 001D subi.l D0, 0x1D
00002B42 672E beq +0x30 /* 00002B72 */
00002B44 0480 0000 0100 subi.l D0, 0x100
00002B4A 6738 beq +0x3A /* 00002B84 */
00002B4C 0480 0000 00E3 subi.l D0, 0xE3
00002B52 6766 beq +0x68 /* 00002BBA */
00002B54 0480 0000 001D subi.l D0, 0x1D
00002B5A 674C beq +0x4E /* 00002BA8 */
00002B5C 6000 00DC bra +0xDE /* 00002C3A */
label00002B60:
00002B60 B8AF 0108 cmp.l D4, [A7 + 0x108]
00002B64 5DC0 slt D0
00002B66 4400 neg.b D0
00002B68 4880 ext.w D0
00002B6A 48C0 ext.l D0
00002B6C 1600 move.b D3, D0
00002B6E 6000 00CA bra +0xCC /* 00002C3A */
label00002B72:
00002B72 B8AF 0108 cmp.l D4, [A7 + 0x108]
00002B76 5FC0 sle D0
00002B78 4400 neg.b D0
00002B7A 4880 ext.w D0
00002B7C 48C0 ext.l D0
00002B7E 1600 move.b D3, D0
00002B80 6000 00B8 bra +0xBA /* 00002C3A */
label00002B84:
00002B84 B8AF 0108 cmp.l D4, [A7 + 0x108]
00002B88 57C0 seq D0
00002B8A 4400 neg.b D0
00002B8C 4880 ext.w D0
00002B8E 48C0 ext.l D0
00002B90 1600 move.b D3, D0
00002B92 6000 00A6 bra +0xA8 /* 00002C3A */
label00002B96:
00002B96 B8AF 0108 cmp.l D4, [A7 + 0x108]
00002B9A 56C0 sne D0
00002B9C 4400 neg.b D0
00002B9E 4880 ext.w D0
00002BA0 48C0 ext.l D0
00002BA2 1600 move.b D3, D0
00002BA4 6000 0094 bra +0x96 /* 00002C3A */
label00002BA8:
00002BA8 B8AF 0108 cmp.l D4, [A7 + 0x108]
00002BAC 5CC0 sge D0
00002BAE 4400 neg.b D0
00002BB0 4880 ext.w D0
00002BB2 48C0 ext.l D0
00002BB4 1600 move.b D3, D0
00002BB6 6000 0082 bra +0x84 /* 00002C3A */
label00002BBA:
00002BBA B8AF 0108 cmp.l D4, [A7 + 0x108]
00002BBE 5EC0 sgt D0
00002BC0 4400 neg.b D0
00002BC2 4880 ext.w D0
00002BC4 48C0 ext.l D0
00002BC6 1600 move.b D3, D0
00002BC8 6070 bra +0x72 /* 00002C3A */
label00002BCA:
00002BCA 206F 0104 movea.l A0, [A7 + 0x104]
00002BCE 2050 movea.l A0, [A0]
00002BD0 1010 move.b D0, [A0]
00002BD2 4880 ext.w D0
00002BD4 48C0 ext.l D0
00002BD6 5280 addq.l D0, 1
00002BD8 206F 0104 movea.l A0, [A7 + 0x104]
00002BDC 2050 movea.l A0, [A0]
00002BDE 43EF 0004 lea.l A1, [A7 + 0x4]
00002BE2 A02E syscall BlockMove/BlockMoveData
00002BE4 7000 moveq.l D0, 0x00
00002BE6 302A 0084 move.w D0, [A2 + 0x84]
00002BEA 0480 0000 213D subi.l D0, 0x213D /* '!=' */
00002BF0 6726 beq +0x28 /* 00002C18 */
00002BF2 0480 0000 1C00 subi.l D0, 0x1C00
00002BF8 6702 beq +0x4 /* 00002BFC */
00002BFA 603E bra +0x40 /* 00002C3A */
label00002BFC:
00002BFC 554F subq.w A7, 2
00002BFE 486F 0006 pea.l [A7 + 0x6]
00002C02 486A 0086 pea.l [A2 + 0x86]
00002C06 1F3C 0001 move.b -[A7], 0x1
00002C0A 1F3C 0001 move.b -[A7], 0x1
00002C0E 4EAD FEC8 jsr [A5 - 0x138]
00002C12 101F move.b D0, [A7]+
00002C14 1600 move.b D3, D0
00002C16 6022 bra +0x24 /* 00002C3A */
label00002C18:
00002C18 554F subq.w A7, 2
00002C1A 486F 0006 pea.l [A7 + 0x6]
00002C1E 486A 0086 pea.l [A2 + 0x86]
00002C22 1F3C 0001 move.b -[A7], 0x1
00002C26 1F3C 0001 move.b -[A7], 0x1
00002C2A 4EAD FEC8 jsr [A5 - 0x138]
00002C2E 101F move.b D0, [A7]+
00002C30 57C0 seq D0
00002C32 4400 neg.b D0
00002C34 4880 ext.w D0
00002C36 48C0 ext.l D0
00002C38 1600 move.b D3, D0
label00002C3A:
00002C3A 1003 move.b D0, D3
00002C3C 4FEF 010C lea.l A7, [A7 + 0x10C]
00002C40 4CDF 0418 movem.l D3,D4,A2, [A7]+
00002C44 4E75 rts
fn00002C46:
00002C46 48E7 1020 movem.l -[A7], D3,A2
00002C4A 246F 000C movea.l A2, [A7 + 0xC]
00002C4E 4A2D F403 tst.b [A5 - 0xBFD]
00002C52 672C beq +0x2E /* 00002C80 */
00002C54 4A6A 004A tst.w [A2 + 0x4A]
00002C58 6720 beq +0x22 /* 00002C7A */
00002C5A 0C6A 0001 004A cmpi.w [A2 + 0x4A], 0x1
00002C60 6606 bne +0x8 /* 00002C68 */
00002C62 4A2D F3F8 tst.b [A5 - 0xC08]
00002C66 6612 bne +0x14 /* 00002C7A */
label00002C68:
00002C68 0C6A FFFF 004A cmpi.w [A2 + 0x4A], 0xFFFF
00002C6E 6606 bne +0x8 /* 00002C76 */
00002C70 4A2D F3F8 tst.b [A5 - 0xC08]
00002C74 6704 beq +0x6 /* 00002C7A */
label00002C76:
00002C76 7000 moveq.l D0, 0x00
00002C78 6002 bra +0x4 /* 00002C7C */
label00002C7A:
00002C7A 7001 moveq.l D0, 0x01
label00002C7C:
00002C7C 1600 move.b D3, D0
00002C7E 602A bra +0x2C /* 00002CAA */
label00002C80:
00002C80 4A6A 0048 tst.w [A2 + 0x48]
00002C84 6720 beq +0x22 /* 00002CA6 */
00002C86 0C6A 0001 0048 cmpi.w [A2 + 0x48], 0x1
00002C8C 6606 bne +0x8 /* 00002C94 */
00002C8E 4A2D F3F8 tst.b [A5 - 0xC08]
00002C92 6612 bne +0x14 /* 00002CA6 */
label00002C94:
00002C94 0C6A FFFF 0048 cmpi.w [A2 + 0x48], 0xFFFF
00002C9A 6606 bne +0x8 /* 00002CA2 */
00002C9C 4A2D F3F8 tst.b [A5 - 0xC08]
00002CA0 6704 beq +0x6 /* 00002CA6 */
label00002CA2:
00002CA2 7000 moveq.l D0, 0x00
00002CA4 6002 bra +0x4 /* 00002CA8 */
label00002CA6:
00002CA6 7001 moveq.l D0, 0x01
label00002CA8:
00002CA8 1600 move.b D3, D0
label00002CAA:
00002CAA 1003 move.b D0, D3
00002CAC 4CDF 0408 movem.l D3,A2, [A7]+
00002CB0 4E75 rts
fn00002CB2:
00002CB2 48E7 1E20 movem.l -[A7], D3,D4,D5,D6,A2
00002CB6 246F 0018 movea.l A2, [A7 + 0x18]
00002CBA 1A2F 001C move.b D5, [A7 + 0x1C]
00002CBE 4A2A 0041 tst.b [A2 + 0x41]
00002CC2 660E bne +0x10 /* 00002CD2 */
00002CC4 4A2A 0040 tst.b [A2 + 0x40]
00002CC8 6604 bne +0x6 /* 00002CCE */
00002CCA 7000 moveq.l D0, 0x00
00002CCC 6002 bra +0x4 /* 00002CD0 */
label00002CCE:
00002CCE 7001 moveq.l D0, 0x01
label00002CD0:
00002CD0 6002 bra +0x4 /* 00002CD4 */
label00002CD2:
00002CD2 70FF moveq.l D0, 0xFFFFFFFF
label00002CD4:
00002CD4 4880 ext.w D0
00002CD6 3600 move.w D3, D0
00002CD8 2F0A move.l -[A7], A2
00002CDA 4EBA FDEE jsr [PC - 0x212 /* 00002ACA */]
00002CDE 4A00 tst.b D0
00002CE0 584F addq.w A7, 4
00002CE2 6606 bne +0x8 /* 00002CEA */
00002CE4 7000 moveq.l D0, 0x00
00002CE6 6000 0114 bra +0x116 /* 00002DFC */
label00002CEA:
00002CEA 4A05 tst.b D5
00002CEC 670A beq +0xC /* 00002CF8 */
00002CEE 0C6A 0004 0002 cmpi.w [A2 + 0x2], 0x4
00002CF4 6600 00C8 bne +0xCA /* 00002DBE */
label00002CF8:
00002CF8 4A43 tst.w D3
00002CFA 670E beq +0x10 /* 00002D0A */
00002CFC 0C43 0001 cmpi.w D3, 0x1
00002D00 6600 00BC bne +0xBE /* 00002DBE */
00002D04 4A05 tst.b D5
00002D06 6700 00B6 beq +0xB8 /* 00002DBE */
label00002D0A:
00002D0A 4A6A 0046 tst.w [A2 + 0x46]
00002D0E 6720 beq +0x22 /* 00002D30 */
00002D10 0C6A 0001 0046 cmpi.w [A2 + 0x46], 0x1
00002D16 6606 bne +0x8 /* 00002D1E */
00002D18 4A2D F3F9 tst.b [A5 - 0xC07]
00002D1C 6612 bne +0x14 /* 00002D30 */
label00002D1E:
00002D1E 0C6A FFFF 0046 cmpi.w [A2 + 0x46], 0xFFFF
00002D24 6600 0098 bne +0x9A /* 00002DBE */
00002D28 4A2D F3F9 tst.b [A5 - 0xC07]
00002D2C 6600 0090 bne +0x92 /* 00002DBE */
label00002D30:
00002D30 2F0A move.l -[A7], A2
00002D32 4EBA FF12 jsr [PC - 0xEE /* 00002C46 */]
00002D36 4A00 tst.b D0
00002D38 584F addq.w A7, 4
00002D3A 6700 0082 beq +0x84 /* 00002DBE */
00002D3E 4A6A 004C tst.w [A2 + 0x4C]
00002D42 671C beq +0x1E /* 00002D60 */
00002D44 0C6A 0001 004C cmpi.w [A2 + 0x4C], 0x1
00002D4A 6606 bne +0x8 /* 00002D52 */
00002D4C 4A2D F3F7 tst.b [A5 - 0xC09]
00002D50 660E bne +0x10 /* 00002D60 */
label00002D52:
00002D52 0C6A FFFF 004C cmpi.w [A2 + 0x4C], 0xFFFF
00002D58 6664 bne +0x66 /* 00002DBE */
00002D5A 4A2D F3F7 tst.b [A5 - 0xC09]
00002D5E 665E bne +0x60 /* 00002DBE */
label00002D60:
00002D60 4AAD F404 tst.l [A5 - 0xBFC]
00002D64 6734 beq +0x36 /* 00002D9A */
00002D66 202D F404 move.l D0, [A5 - 0xBFC]
00002D6A B0AA 004E cmp.l D0, [A2 + 0x4E]
00002D6E 6D10 blt +0x12 /* 00002D80 */
00002D70 202D F404 move.l D0, [A5 - 0xBFC]
00002D74 B0AA 0052 cmp.l D0, [A2 + 0x52]
00002D78 6F20 ble +0x22 /* 00002D9A */
00002D7A 4AAA 0052 tst.l [A2 + 0x52]
00002D7E 671A beq +0x1C /* 00002D9A */
label00002D80:
00002D80 202D F404 move.l D0, [A5 - 0xBFC]
00002D84 B0AA 0056 cmp.l D0, [A2 + 0x56]
00002D88 6D34 blt +0x36 /* 00002DBE */
00002D8A 202D F404 move.l D0, [A5 - 0xBFC]
00002D8E B0AA 005A cmp.l D0, [A2 + 0x5A]
00002D92 6F06 ble +0x8 /* 00002D9A */
00002D94 4AAA 005A tst.l [A2 + 0x5A]
00002D98 6624 bne +0x26 /* 00002DBE */
label00002D9A:
00002D9A 202D F3FE move.l D0, [A5 - 0xC02]
00002D9E B0AA 005E cmp.l D0, [A2 + 0x5E]
00002DA2 651A bcs +0x1C /* 00002DBE */
00002DA4 202D F3FE move.l D0, [A5 - 0xC02]
00002DA8 B0AA 0062 cmp.l D0, [A2 + 0x62]
00002DAC 6306 bls +0x8 /* 00002DB4 */
00002DAE 4AAA 0062 tst.l [A2 + 0x62]
00002DB2 660A bne +0xC /* 00002DBE */
label00002DB4:
00002DB4 202D F3FA move.l D0, [A5 - 0xC06]
00002DB8 B0AA 0066 cmp.l D0, [A2 + 0x66]
00002DBC 6C0E bge +0x10 /* 00002DCC */
label00002DBE:
00002DBE 4A2A 0001 tst.b [A2 + 0x1]
00002DC2 6604 bne +0x6 /* 00002DC8 */
00002DC4 4A43 tst.w D3
00002DC6 6704 beq +0x6 /* 00002DCC */
label00002DC8:
00002DC8 7000 moveq.l D0, 0x00
00002DCA 6002 bra +0x4 /* 00002DCE */
label00002DCC:
00002DCC 7001 moveq.l D0, 0x01
label00002DCE:
00002DCE 1800 move.b D4, D0
00002DD0 4A05 tst.b D5
00002DD2 6712 beq +0x14 /* 00002DE6 */
00002DD4 0C43 FFFF cmpi.w D3, 0xFFFF
00002DD8 6710 beq +0x12 /* 00002DEA */
00002DDA 4A04 tst.b D4
00002DDC 6708 beq +0xA /* 00002DE6 */
00002DDE 0C6A 0004 0002 cmpi.w [A2 + 0x2], 0x4
00002DE4 6704 beq +0x6 /* 00002DEA */
label00002DE6:
00002DE6 7000 moveq.l D0, 0x00
00002DE8 6002 bra +0x4 /* 00002DEC */
label00002DEA:
00002DEA 7001 moveq.l D0, 0x01
label00002DEC:
00002DEC 1C00 move.b D6, D0
00002DEE 7000 moveq.l D0, 0x00
00002DF0 1006 move.b D0, D6
00002DF2 D080 add.l D0, D0
00002DF4 7200 moveq.l D1, 0x00
00002DF6 1204 move.b D1, D4
00002DF8 8280 or.l D1, D0
00002DFA 3001 move.w D0, D1
label00002DFC:
00002DFC 4CDF 0478 movem.l D3,D4,D5,D6,A2, [A7]+
00002E00 4E75 rts
fn00002E02:
00002E02 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00002E06 4FEF FF94 lea.l A7, [A7 - 0x6C]
00002E0A 3A2F 0080 move.w D5, [A7 + 0x80]
00002E0E 282F 0082 move.l D4, [A7 + 0x82]
00002E12 246F 0086 movea.l A2, [A7 + 0x86]
00002E16 7600 moveq.l D3, 0x00
00002E18 2F4A 0012 move.l [A7 + 0x12], A2
00002E1C 3F45 0016 move.w [A7 + 0x16], D5
00002E20 2F44 0030 move.l [A7 + 0x30], D4
00002E24 426F 001C clr.w [A7 + 0x1C]
00002E28 422F 001B clr.b [A7 + 0x1B]
00002E2C 41D7 lea.l A0, [A7]
00002E2E 7009 moveq.l D0, 0x09
00002E30 A260 syscall FSDispatch/HFSDispatch, flags=2
00002E32 3600 move.w D3, D0
00002E34 4A43 tst.w D3
00002E36 660C bne +0xE /* 00002E44 */
00002E38 102F 001E move.b D0, [A7 + 0x1E]
00002E3C 7210 moveq.l D1, 0x10
00002E3E C081 and.l D0, D1
00002E40 6602 bne +0x4 /* 00002E44 */
00002E42 7688 moveq.l D3, 0xFFFFFF88
label00002E44:
00002E44 4A43 tst.w D3
00002E46 6622 bne +0x24 /* 00002E6A */
00002E48 2F4A 0012 move.l [A7 + 0x12], A2
00002E4C 3F45 0016 move.w [A7 + 0x16], D5
00002E50 2F44 0030 move.l [A7 + 0x30], D4
00002E54 426F 001C clr.w [A7 + 0x1C]
00002E58 006F 0400 0028 ori.w [A7 + 0x28], 0x400
00002E5E 422F 001B clr.b [A7 + 0x1B]
00002E62 41D7 lea.l A0, [A7]
00002E64 700A moveq.l D0, 0x0A
00002E66 A260 syscall FSDispatch/HFSDispatch, flags=2
00002E68 3600 move.w D3, D0
label00002E6A:
00002E6A 3003 move.w D0, D3
00002E6C 4FEF 006C lea.l A7, [A7 + 0x6C]
00002E70 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00002E74 4E75 rts
fn00002E76:
00002E76 48E7 1820 movem.l -[A7], D3,D4,A2
00002E7A 4FEF FDF6 lea.l A7, [A7 - 0x20A]
00002E7E 246F 021A movea.l A2, [A7 + 0x21A]
00002E82 4A2D E54D tst.b [A5 - 0x1AB3]
00002E86 6700 0086 beq +0x88 /* 00002F0E */
00002E8A 7800 moveq.l D4, 0x00
00002E8C 7600 moveq.l D3, 0x00
00002E8E 6016 bra +0x18 /* 00002EA6 */
label00002E90:
00002E90 2004 move.l D0, D4
00002E92 E188 lsl D0, 8
00002E94 3203 move.w D1, D3
00002E96 48C1 ext.l D1
00002E98 5281 addq.l D1, 1
00002E9A 7400 moveq.l D2, 0x00
00002E9C 1432 1804 move.b D2, [A2 + D1 + 0x4]
00002EA0 D480 add.l D2, D0
00002EA2 2802 move.l D4, D2
00002EA4 5243 addq.w D3, 1
label00002EA6:
00002EA6 0C43 0004 cmpi.w D3, 0x4
00002EAA 6DE4 blt -0x1A /* 00002E90 */
00002EAC 554F subq.w A7, 2
00002EAE 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
00002EB4 486F 0106 pea.l [A7 + 0x106]
00002EB8 4EAD FEB0 jsr [A5 - 0x150]
00002EBC 301F move.w D0, [A7]+
00002EBE 3600 move.w D3, D0
00002EC0 4A43 tst.w D3
00002EC2 6622 bne +0x24 /* 00002EE6 */
00002EC4 7001 moveq.l D0, 0x01
00002EC6 C0AF 0100 and.l D0, [A7 + 0x100]
00002ECA 671A beq +0x1C /* 00002EE6 */
00002ECC 554F subq.w A7, 2
00002ECE 3F2F 0220 move.w -[A7], [A7 + 0x220]
00002ED2 2F04 move.l -[A7], D4
00002ED4 4227 clr.b -[A7]
00002ED6 486F 0112 pea.l [A7 + 0x112]
00002EDA 486F 0112 pea.l [A7 + 0x112]
00002EDE 4EAD FFE8 jsr [A5 - 0x18]
00002EE2 301F move.w D0, [A7]+
00002EE4 3600 move.w D3, D0
label00002EE6:
00002EE6 4A43 tst.w D3
00002EE8 6614 bne +0x16 /* 00002EFE */
00002EEA 4857 pea.l [A7]
00002EEC 2F2F 0108 move.l -[A7], [A7 + 0x108]
00002EF0 3F2F 0110 move.w -[A7], [A7 + 0x110]
00002EF4 4EAD FBB8 jsr [A5 - 0x448]
00002EF8 3600 move.w D3, D0
00002EFA 4FEF 000A lea.l A7, [A7 + 0xA]
label00002EFE:
00002EFE 4A43 tst.w D3
00002F00 660E bne +0x10 /* 00002F10 */
00002F02 41D7 lea.l A0, [A7]
00002F04 43EA 0004 lea.l A1, [A2 + 0x4]
00002F08 7020 moveq.l D0, 0x20
00002F0A A02E syscall BlockMove/BlockMoveData
00002F0C 6002 bra +0x4 /* 00002F10 */
label00002F0E:
00002F0E 76FF moveq.l D3, 0xFFFFFFFF
label00002F10:
00002F10 4A43 tst.w D3
00002F12 6758 beq +0x5A /* 00002F6C */
00002F14 7601 moveq.l D3, 0x01
label00002F16:
00002F16 3F03 move.w -[A7], D3
00002F18 3F3C 7D05 move.w -[A7], 0x7D05
00002F1C 486F 010E pea.l [A7 + 0x10E]
00002F20 4EBA D91E jsr [PC - 0x26E2 /* 00000840 */]
00002F24 4A2F 0112 tst.b [A7 + 0x112]
00002F28 504F addq.w A7, 8
00002F2A 6740 beq +0x42 /* 00002F6C */
00002F2C 554F subq.w A7, 2
00002F2E 486F 010C pea.l [A7 + 0x10C]
00002F32 486A 0004 pea.l [A2 + 0x4]
00002F36 1F3C 0001 move.b -[A7], 0x1
00002F3A 1F3C 0001 move.b -[A7], 0x1
00002F3E 4EAD FEC8 jsr [A5 - 0x138]
00002F42 101F move.b D0, [A7]+
00002F44 6722 beq +0x24 /* 00002F68 */
00002F46 486F 010A pea.l [A7 + 0x10A]
00002F4A 3F3C 7D06 move.w -[A7], 0x7D06
00002F4E 3F03 move.w -[A7], D3
00002F50 4EAD FF80 jsr [A5 - 0x80]
00002F54 4A2F 010A tst.b [A7 + 0x10A]
00002F58 6712 beq +0x14 /* 00002F6C */
00002F5A 41EF 010A lea.l A0, [A7 + 0x10A]
00002F5E 43EA 0004 lea.l A1, [A2 + 0x4]
00002F62 7020 moveq.l D0, 0x20
00002F64 A02E syscall BlockMove/BlockMoveData
00002F66 6004 bra +0x6 /* 00002F6C */
label00002F68:
00002F68 5243 addq.w D3, 1
00002F6A 60AA bra -0x54 /* 00002F16 */
label00002F6C:
00002F6C 4FEF 020A lea.l A7, [A7 + 0x20A]
00002F70 4CDF 0418 movem.l D3,D4,A2, [A7]+
00002F74 4E75 rts
fn00002F76:
00002F76 48E7 1030 movem.l -[A7], D3,A2,A3
00002F7A 4FEF FF94 lea.l A7, [A7 - 0x6C]
00002F7E 266F 0088 movea.l A3, [A7 + 0x88]
00002F82 246F 008C movea.l A2, [A7 + 0x8C]
00002F86 2F6F 0082 0012 move.l [A7 + 0x12], [A7 + 0x82]
00002F8C 3F6F 007C 0016 move.w [A7 + 0x16], [A7 + 0x7C]
00002F92 2F6F 007E 0030 move.l [A7 + 0x30], [A7 + 0x7E]
00002F98 422F 001B clr.b [A7 + 0x1B]
00002F9C 3F6F 0086 001C move.w [A7 + 0x1C], [A7 + 0x86]
00002FA2 41D7 lea.l A0, [A7]
00002FA4 7009 moveq.l D0, 0x09
00002FA6 A260 syscall FSDispatch/HFSDispatch, flags=2
00002FA8 4A40 tst.w D0
00002FAA 57C0 seq D0
00002FAC 4400 neg.b D0
00002FAE 4880 ext.w D0
00002FB0 48C0 ext.l D0
00002FB2 1600 move.b D3, D0
00002FB4 4A03 tst.b D3
00002FB6 670C beq +0xE /* 00002FC4 */
00002FB8 102F 001E move.b D0, [A7 + 0x1E]
00002FBC 7210 moveq.l D1, 0x10
00002FBE C081 and.l D0, D1
00002FC0 6602 bne +0x4 /* 00002FC4 */
00002FC2 7600 moveq.l D3, 0x00
label00002FC4:
00002FC4 4A03 tst.b D3
00002FC6 6710 beq +0x12 /* 00002FD8 */
00002FC8 200B move.l D0, A3
00002FCA 6704 beq +0x6 /* 00002FD0 */
00002FCC 26AF 0030 move.l [A3], [A7 + 0x30]
label00002FD0:
00002FD0 200A move.l D0, A2
00002FD2 6704 beq +0x6 /* 00002FD8 */
00002FD4 24AF 0064 move.l [A2], [A7 + 0x64]
label00002FD8:
00002FD8 1003 move.b D0, D3
00002FDA 4FEF 006C lea.l A7, [A7 + 0x6C]
00002FDE 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002FE2 4E75 rts
fn00002FE4:
00002FE4 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00002FE8 4FEF FF0A lea.l A7, [A7 - 0xF6]
00002FEC 266F 0112 movea.l A3, [A7 + 0x112]
00002FF0 286F 0116 movea.l A4, [A7 + 0x116]
00002FF4 246F 011A movea.l A2, [A7 + 0x11A]
00002FF8 2C6F 0122 movea.l A6, [A7 + 0x122]
00002FFC 7600 moveq.l D3, 0x00
00002FFE 42A7 clr.l -[A7]
00003000 486F 000C pea.l [A7 + 0xC]
00003004 4267 clr.w -[A7]
00003006 486A 0004 pea.l [A2 + 0x4]
0000300A 2F14 move.l -[A7], [A4]
0000300C 3F13 move.w -[A7], [A3]
0000300E 4EBA FF66 jsr [PC - 0x9A /* 00002F76 */]
00003012 1800 move.b D4, D0
00003014 1F04 move.b -[A7], D4
00003016 2F0A move.l -[A7], A2
00003018 4EBA FC98 jsr [PC - 0x368 /* 00002CB2 */]
0000301C 3C80 move.w [A6], D0
0000301E 3016 move.w D0, [A6]
00003020 7201 moveq.l D1, 0x01
00003022 C081 and.l D0, D1
00003024 4A80 tst.l D0
00003026 4FEF 001A lea.l A7, [A7 + 0x1A]
0000302A 6604 bne +0x6 /* 00003030 */
0000302C 7000 moveq.l D0, 0x00
0000302E 6002 bra +0x4 /* 00003032 */
label00003030:
00003030 7001 moveq.l D0, 0x01
label00003032:
00003032 4A80 tst.l D0
00003034 6714 beq +0x16 /* 0000304A */
00003036 4A43 tst.w D3
00003038 6610 bne +0x12 /* 0000304A */
0000303A 2F14 move.l -[A7], [A4]
0000303C 3F13 move.w -[A7], [A3]
0000303E 2F0A move.l -[A7], A2
00003040 4EBA F698 jsr [PC - 0x968 /* 000026DA */]
00003044 3600 move.w D3, D0
00003046 4FEF 000A lea.l A7, [A7 + 0xA]
label0000304A:
0000304A 3016 move.w D0, [A6]
0000304C 7202 moveq.l D1, 0x02
0000304E C081 and.l D0, D1
00003050 4A80 tst.l D0
00003052 6604 bne +0x6 /* 00003058 */
00003054 7000 moveq.l D0, 0x00
00003056 6002 bra +0x4 /* 0000305A */
label00003058:
00003058 7001 moveq.l D0, 0x01
label0000305A:
0000305A 4A80 tst.l D0
0000305C 660A bne +0xC /* 00003068 */
0000305E 4A2A 0042 tst.b [A2 + 0x42]
00003062 6720 beq +0x22 /* 00003084 */
00003064 4A04 tst.b D4
00003066 671C beq +0x1E /* 00003084 */
label00003068:
00003068 4A43 tst.w D3
0000306A 6618 bne +0x1A /* 00003084 */
0000306C 2F2F 0008 move.l -[A7], [A7 + 0x8]
00003070 3F13 move.w -[A7], [A3]
00003072 4EBA D3A0 jsr [PC - 0x2C60 /* 00000414 */]
00003076 3600 move.w D3, D0
00003078 206D EFDC movea.l A0, [A5 - 0x1024]
0000307C 117C 0001 0001 move.b [A0 + 0x1], 0x1
00003082 5C4F addq.w A7, 6
label00003084:
00003084 3016 move.w D0, [A6]
00003086 7202 moveq.l D1, 0x02
00003088 C081 and.l D0, D1
0000308A 4A80 tst.l D0
0000308C 6604 bne +0x6 /* 00003092 */
0000308E 7000 moveq.l D0, 0x00
00003090 6002 bra +0x4 /* 00003094 */
label00003092:
00003092 7001 moveq.l D0, 0x01
label00003094:
00003094 4A80 tst.l D0
00003096 6716 beq +0x18 /* 000030AE */
00003098 4A43 tst.w D3
0000309A 6612 bne +0x14 /* 000030AE */
0000309C 486A 0004 pea.l [A2 + 0x4]
000030A0 2F14 move.l -[A7], [A4]
000030A2 3F13 move.w -[A7], [A3]
000030A4 4EBA D460 jsr [PC - 0x2BA0 /* 00000506 */]
000030A8 3600 move.w D3, D0
000030AA 4FEF 000A lea.l A7, [A7 + 0xA]
label000030AE:
000030AE 3016 move.w D0, [A6]
000030B0 7201 moveq.l D1, 0x01
000030B2 C081 and.l D0, D1
000030B4 4A80 tst.l D0
000030B6 6604 bne +0x6 /* 000030BC */
000030B8 7000 moveq.l D0, 0x00
000030BA 6002 bra +0x4 /* 000030BE */
label000030BC:
000030BC 7001 moveq.l D0, 0x01
label000030BE:
000030BE 4A80 tst.l D0
000030C0 6734 beq +0x36 /* 000030F6 */
000030C2 4A04 tst.b D4
000030C4 6630 bne +0x32 /* 000030F6 */
000030C6 4A43 tst.w D3
000030C8 662C bne +0x2E /* 000030F6 */
000030CA 204A movea.l A0, A2
000030CC 5888 addq.l A0, 4
000030CE 2F48 0022 move.l [A7 + 0x22], A0
000030D2 3F53 0026 move.w [A7 + 0x26], [A3]
000030D6 2F54 0040 move.l [A7 + 0x40], [A4]
000030DA 422F 002F clr.b [A7 + 0x2F]
000030DE 422F 002A clr.b [A7 + 0x2A]
000030E2 41EF 0010 lea.l A0, [A7 + 0x10]
000030E6 7006 moveq.l D0, 0x06
000030E8 A260 syscall FSDispatch/HFSDispatch, flags=2
000030EA 3600 move.w D3, D0
000030EC 206D EFDC movea.l A0, [A5 - 0x1024]
000030F0 117C 0001 0001 move.b [A0 + 0x1], 0x1
label000030F6:
000030F6 206D EFDC movea.l A0, [A5 - 0x1024]
000030FA 0C28 0001 0001 cmpi.b [A0 + 0x1], 0x1
00003100 6600 0104 bne +0x106 /* 00003206 */
00003104 4A2A 00A6 tst.b [A2 + 0xA6]
00003108 6706 beq +0x8 /* 00003110 */
0000310A 2048 movea.l A0, A0
0000310C 4A10 tst.b [A0]
0000310E 6608 bne +0xA /* 00003118 */
label00003110:
00003110 4AAA 00AC tst.l [A2 + 0xAC]
00003114 6700 00F0 beq +0xF2 /* 00003206 */
label00003118:
00003118 4A43 tst.w D3
0000311A 6600 00EA bne +0xEC /* 00003206 */
0000311E 3F53 00A0 move.w [A7 + 0xA0], [A3]
00003122 2F54 00BA move.l [A7 + 0xBA], [A4]
00003126 204A movea.l A0, A2
00003128 5888 addq.l A0, 4
0000312A 2F48 009C move.l [A7 + 0x9C], A0
0000312E 426F 00A6 clr.w [A7 + 0xA6]
00003132 41EF 008A lea.l A0, [A7 + 0x8A]
00003136 7009 moveq.l D0, 0x09
00003138 A260 syscall FSDispatch/HFSDispatch, flags=2
0000313A 3600 move.w D3, D0
0000313C 4A43 tst.w D3
0000313E 6600 00C6 bne +0xC8 /* 00003206 */
00003142 3F53 00A0 move.w [A7 + 0xA0], [A3]
00003146 2F54 00BA move.l [A7 + 0xBA], [A4]
0000314A 204A movea.l A0, A2
0000314C 5888 addq.l A0, 4
0000314E 2F48 009C move.l [A7 + 0x9C], A0
00003152 426F 00A6 clr.w [A7 + 0xA6]
00003156 4AAA 00AC tst.l [A2 + 0xAC]
0000315A 672C beq +0x2E /* 00003188 */
0000315C 206A 00AC movea.l A0, [A2 + 0xAC]
00003160 2F50 00AA move.l [A7 + 0xAA], [A0]
00003164 2F68 0004 00AE move.l [A7 + 0xAE], [A0 + 0x4]
0000316A 206A 00AC movea.l A0, [A2 + 0xAC]
0000316E 3F68 0008 00B2 move.w [A7 + 0xB2], [A0 + 0x8]
00003174 206A 00AC movea.l A0, [A2 + 0xAC]
00003178 3F68 000E 00B8 move.w [A7 + 0xB8], [A0 + 0xE]
0000317E 206A 00AC movea.l A0, [A2 + 0xAC]
00003182 2F68 0010 00DE move.l [A7 + 0xDE], [A0 + 0x10]
label00003188:
00003188 3F7C FFFF 00B4 move.w [A7 + 0xB4], 0xFFFF
0000318E 3F7C FFFF 00B6 move.w [A7 + 0xB6], 0xFFFF
00003194 4A2A 00A6 tst.b [A2 + 0xA6]
00003198 675C beq +0x5E /* 000031F6 */
0000319A 206D EFDC movea.l A0, [A5 - 0x1024]
0000319E 4A10 tst.b [A0]
000031A0 6754 beq +0x56 /* 000031F6 */
000031A2 2EAD FA16 move.l [A7], [A5 - 0x5EA]
000031A6 2F6D FA1A 0004 move.l [A7 + 0x4], [A5 - 0x5E6]
000031AC 0C6A FFFF 00A8 cmpi.w [A2 + 0xA8], 0xFFFF
000031B2 6710 beq +0x12 /* 000031C4 */
000031B4 0C6A FFFF 00AA cmpi.w [A2 + 0xAA], 0xFFFF
000031BA 6708 beq +0xA /* 000031C4 */
000031BC 2F6A 00A8 000C move.l [A7 + 0xC], [A2 + 0xA8]
000031C2 6010 bra +0x12 /* 000031D4 */
label000031C4:
000031C4 4AAA 00AC tst.l [A2 + 0xAC]
000031C8 670A beq +0xC /* 000031D4 */
000031CA 206A 00AC movea.l A0, [A2 + 0xAC]
000031CE 2F68 000A 000C move.l [A7 + 0xC], [A0 + 0xA]
label000031D4:
000031D4 554F subq.w A7, 2
000031D6 2F2F 000E move.l -[A7], [A7 + 0xE]
000031DA 486F 0006 pea.l [A7 + 0x6]
000031DE A8AD syscall PtInRect
000031E0 101F move.b D0, [A7]+
000031E2 670C beq +0xE /* 000031F0 */
000031E4 066F 4E20 000C addi.w [A7 + 0xC], 0x4E20 /* 'N ' */
000031EA 066F 4E20 000E addi.w [A7 + 0xE], 0x4E20 /* 'N ' */
label000031F0:
000031F0 2F6F 000C 00B4 move.l [A7 + 0xB4], [A7 + 0xC]
label000031F6:
000031F6 006F 0100 00B2 ori.w [A7 + 0xB2], 0x100
000031FC 41EF 008A lea.l A0, [A7 + 0x8A]
00003200 700A moveq.l D0, 0x0A
00003202 A260 syscall FSDispatch/HFSDispatch, flags=2
00003204 3600 move.w D3, D0
label00003206:
00003206 4A43 tst.w D3
00003208 6616 bne +0x18 /* 00003220 */
0000320A 4A2A 0044 tst.b [A2 + 0x44]
0000320E 6710 beq +0x12 /* 00003220 */
00003210 486A 0004 pea.l [A2 + 0x4]
00003214 2F14 move.l -[A7], [A4]
00003216 3F13 move.w -[A7], [A3]
00003218 4EBA FBE8 jsr [PC - 0x418 /* 00002E02 */]
0000321C 4FEF 000A lea.l A7, [A7 + 0xA]
label00003220:
00003220 3013 move.w D0, [A3]
00003222 B06D F3EE cmp.w D0, [A5 - 0xC12]
00003226 6706 beq +0x8 /* 0000322E */
00003228 202D F3E0 move.l D0, [A5 - 0xC20]
0000322C 6004 bra +0x6 /* 00003232 */
label0000322E:
0000322E 202D F3FE move.l D0, [A5 - 0xC02]
label00003232:
00003232 2800 move.l D4, D0
00003234 4A2A 0043 tst.b [A2 + 0x43]
00003238 6708 beq +0xA /* 00003242 */
0000323A 0C84 0007 0000 cmpi.l D4, 0x70000
00003240 6506 bcs +0x8 /* 00003248 */
label00003242:
00003242 3003 move.w D0, D3
00003244 48C0 ext.l D0
00003246 6002 bra +0x4 /* 0000324A */
label00003248:
00003248 7000 moveq.l D0, 0x00
label0000324A:
0000324A 4FEF 00F6 lea.l A7, [A7 + 0xF6]
0000324E 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00003252 4E75 rts
fn00003254:
00003254 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00003258 4FEF FF7C lea.l A7, [A7 - 0x84]
0000325C 246F 00A0 movea.l A2, [A7 + 0xA0]
00003260 266F 00A4 movea.l A3, [A7 + 0xA4]
00003264 2C6F 00A8 movea.l A6, [A7 + 0xA8]
00003268 286F 00B0 movea.l A4, [A7 + 0xB0]
0000326C 7600 moveq.l D3, 0x00
0000326E 52AD EFDC addq.l [A5 - 0x1024], 1
00003272 526D F3F4 addq.w [A5 - 0xC0C], 1
00003276 4A6D F3F2 tst.w [A5 - 0xC0E]
0000327A 6708 beq +0xA /* 00003284 */
0000327C 4254 clr.w [A4]
0000327E 7000 moveq.l D0, 0x00
00003280 6000 0144 bra +0x146 /* 000033C6 */
label00003284:
00003284 7800 moveq.l D4, 0x00
00003286 554F subq.w A7, 2
00003288 486E 0004 pea.l [A6 + 0x4]
0000328C 486D F2E0 pea.l [A5 - 0xD20]
00003290 4227 clr.b -[A7]
00003292 1F3C 0001 move.b -[A7], 0x1
00003296 4EAD FEC8 jsr [A5 - 0x138]
0000329A 101F move.b D0, [A7]+
0000329C 672A beq +0x2C /* 000032C8 */
0000329E 4A6D F3EE tst.w [A5 - 0xC12]
000032A2 6700 00F2 beq +0xF4 /* 00003396 */
000032A6 4AAD F3E8 tst.l [A5 - 0xC18]
000032AA 6700 00EA beq +0xEC /* 00003396 */
000032AE 3B52 F3EC move.w [A5 - 0xC14], [A2]
000032B2 3F6D F3EE 0008 move.w [A7 + 0x8], [A5 - 0xC12]
000032B8 2B53 F3E4 move.l [A5 - 0xC1C], [A3]
000032BC 2F6D F3E8 0004 move.l [A7 + 0x4], [A5 - 0xC18]
000032C2 7801 moveq.l D4, 0x01
000032C4 6000 00D0 bra +0xD2 /* 00003396 */
label000032C8:
000032C8 554F subq.w A7, 2
000032CA 486E 0004 pea.l [A6 + 0x4]
000032CE 486D F1E0 pea.l [A5 - 0xE20]
000032D2 4227 clr.b -[A7]
000032D4 1F3C 0001 move.b -[A7], 0x1
000032D8 4EAD FEC8 jsr [A5 - 0x138]
000032DC 101F move.b D0, [A7]+
000032DE 6700 0098 beq +0x9A /* 00003378 */
000032E2 4A2D E54D tst.b [A5 - 0x1AB3]
000032E6 674A beq +0x4C /* 00003332 */
000032E8 554F subq.w A7, 2
000032EA 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
000032F0 486F 0006 pea.l [A7 + 0x6]
000032F4 4EAD FEB0 jsr [A5 - 0x150]
000032F8 301F move.w D0, [A7]+
000032FA 3600 move.w D3, D0
000032FC 4A43 tst.w D3
000032FE 6624 bne +0x26 /* 00003324 */
00003300 7001 moveq.l D0, 0x01
00003302 C097 and.l D0, [A7]
00003304 671E beq +0x20 /* 00003324 */
00003306 554F subq.w A7, 2
00003308 3F12 move.w -[A7], [A2]
0000330A 2F3C 6D61 6373 move.l -[A7], 0x6D616373 /* 'macs' */
00003310 4227 clr.b -[A7]
00003312 486F 0012 pea.l [A7 + 0x12]
00003316 486F 0012 pea.l [A7 + 0x12]
0000331A 4EAD FFE8 jsr [A5 - 0x18]
0000331E 301F move.w D0, [A7]+
00003320 3600 move.w D3, D0
00003322 6002 bra +0x4 /* 00003326 */
label00003324:
00003324 76FF moveq.l D3, 0xFFFFFFFF
label00003326:
00003326 4A43 tst.w D3
00003328 57C0 seq D0
0000332A 4400 neg.b D0
0000332C 4880 ext.w D0
0000332E 48C0 ext.l D0
00003330 1800 move.b D4, D0
label00003332:
00003332 0C04 0001 cmpi.b D4, 0x1
00003336 660A bne +0xC /* 00003342 */
00003338 3B52 F3EC move.w [A5 - 0xC14], [A2]
0000333C 2B53 F3E4 move.l [A5 - 0xC1C], [A3]
00003340 6054 bra +0x56 /* 00003396 */
label00003342:
00003342 42AF 001C clr.l [A7 + 0x1C]
00003346 3F52 0020 move.w [A7 + 0x20], [A2]
0000334A 426F 0026 clr.w [A7 + 0x26]
0000334E 41EF 000A lea.l A0, [A7 + 0xA]
00003352 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00003354 3600 move.w D3, D0
00003356 4A43 tst.w D3
00003358 663C bne +0x3E /* 00003396 */
0000335A 4AAF 0064 tst.l [A7 + 0x64]
0000335E 6736 beq +0x38 /* 00003396 */
00003360 3B52 F3EC move.w [A5 - 0xC14], [A2]
00003364 2B53 F3E4 move.l [A5 - 0xC1C], [A3]
00003368 3F6F 0020 0008 move.w [A7 + 0x8], [A7 + 0x20]
0000336E 2F6F 0064 0004 move.l [A7 + 0x4], [A7 + 0x64]
00003374 7801 moveq.l D4, 0x01
00003376 601E bra +0x20 /* 00003396 */
label00003378:
00003378 3F52 0008 move.w [A7 + 0x8], [A2]
0000337C 42A7 clr.l -[A7]
0000337E 486F 0008 pea.l [A7 + 0x8]
00003382 4267 clr.w -[A7]
00003384 486E 0004 pea.l [A6 + 0x4]
00003388 2F13 move.l -[A7], [A3]
0000338A 3F12 move.w -[A7], [A2]
0000338C 4EBA FBE8 jsr [PC - 0x418 /* 00002F76 */]
00003390 1800 move.b D4, D0
00003392 4FEF 0014 lea.l A7, [A7 + 0x14]
label00003396:
00003396 4A04 tst.b D4
00003398 6610 bne +0x12 /* 000033AA */
0000339A 4A2E 0043 tst.b [A6 + 0x43]
0000339E 670A beq +0xC /* 000033AA */
000033A0 3B6D F3F4 F3F0 move.w [A5 - 0xC10], [A5 - 0xC0C]
000033A6 4254 clr.w [A4]
000033A8 601A bra +0x1C /* 000033C4 */
label000033AA:
000033AA 4A04 tst.b D4
000033AC 660A bne +0xC /* 000033B8 */
000033AE 3B6D F3F4 F3F2 move.w [A5 - 0xC0E], [A5 - 0xC0C]
000033B4 4254 clr.w [A4]
000033B6 600C bra +0xE /* 000033C4 */
label000033B8:
000033B8 34AF 0008 move.w [A2], [A7 + 0x8]
000033BC 26AF 0004 move.l [A3], [A7 + 0x4]
000033C0 38BC 0001 move.w [A4], 0x1
label000033C4:
000033C4 7000 moveq.l D0, 0x00
label000033C6:
000033C6 4FEF 0084 lea.l A7, [A7 + 0x84]
000033CA 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
000033CE 4E75 rts
fn000033D0:
000033D0 48E7 003A movem.l -[A7], A2,A3,A4,A6
000033D4 594F subq.w A7, 4
000033D6 2C6F 0018 movea.l A6, [A7 + 0x18]
000033DA 266F 001C movea.l A3, [A7 + 0x1C]
000033DE 286F 0020 movea.l A4, [A7 + 0x20]
000033E2 246F 0028 movea.l A2, [A7 + 0x28]
000033E6 206D EFDC movea.l A0, [A5 - 0x1024]
000033EA 53AD EFDC subq.l [A5 - 0x1024], 1
000033EE 4210 clr.b [A0]
000033F0 536D F3F4 subq.w [A5 - 0xC0C], 1
000033F4 4A6D F3F2 tst.w [A5 - 0xC0E]
000033F8 6716 beq +0x18 /* 00003410 */
000033FA 302D F3F2 move.w D0, [A5 - 0xC0E]
000033FE B06D F3F4 cmp.w D0, [A5 - 0xC0C]
00003402 6F04 ble +0x6 /* 00003408 */
00003404 426D F3F2 clr.w [A5 - 0xC0E]
label00003408:
00003408 4252 clr.w [A2]
0000340A 7000 moveq.l D0, 0x00
0000340C 6000 009C bra +0x9E /* 000034AA */
label00003410:
00003410 4A6D F3F0 tst.w [A5 - 0xC10]
00003414 6716 beq +0x18 /* 0000342C */
00003416 302D F3F0 move.w D0, [A5 - 0xC10]
0000341A B06D F3F4 cmp.w D0, [A5 - 0xC0C]
0000341E 6F04 ble +0x6 /* 00003424 */
00003420 426D F3F0 clr.w [A5 - 0xC10]
label00003424:
00003424 4252 clr.w [A2]
00003426 7000 moveq.l D0, 0x00
00003428 6000 0080 bra +0x82 /* 000034AA */
label0000342C:
0000342C 554F subq.w A7, 2
0000342E 486C 0004 pea.l [A4 + 0x4]
00003432 486D F2E0 pea.l [A5 - 0xD20]
00003436 4227 clr.b -[A7]
00003438 1F3C 0001 move.b -[A7], 0x1
0000343C 4EAD FEC8 jsr [A5 - 0x138]
00003440 101F move.b D0, [A7]+
00003442 6618 bne +0x1A /* 0000345C */
00003444 554F subq.w A7, 2
00003446 486C 0004 pea.l [A4 + 0x4]
0000344A 486D F1E0 pea.l [A5 - 0xE20]
0000344E 4227 clr.b -[A7]
00003450 1F3C 0001 move.b -[A7], 0x1
00003454 4EAD FEC8 jsr [A5 - 0x138]
00003458 101F move.b D0, [A7]+
0000345A 6726 beq +0x28 /* 00003482 */
label0000345C:
0000345C 4A6D F3EC tst.w [A5 - 0xC14]
00003460 6720 beq +0x22 /* 00003482 */
00003462 4AAD F3E4 tst.l [A5 - 0xC1C]
00003466 671A beq +0x1C /* 00003482 */
00003468 3CAD F3EC move.w [A6], [A5 - 0xC14]
0000346C 26AD F3E4 move.l [A3], [A5 - 0xC1C]
00003470 42AD F3E4 clr.l [A5 - 0xC1C]
00003474 7000 moveq.l D0, 0x00
00003476 3B40 F3EC move.w [A5 - 0xC14], D0
0000347A 34BC 0001 move.w [A2], 0x1
0000347E 7000 moveq.l D0, 0x00
00003480 6028 bra +0x2A /* 000034AA */
label00003482:
00003482 4857 pea.l [A7]
00003484 42A7 clr.l -[A7]
00003486 3F3C FFFF move.w -[A7], 0xFFFF
0000348A 42A7 clr.l -[A7]
0000348C 2F13 move.l -[A7], [A3]
0000348E 3F16 move.w -[A7], [A6]
00003490 4EBA FAE4 jsr [PC - 0x51C /* 00002F76 */]
00003494 4A00 tst.b D0
00003496 4FEF 0014 lea.l A7, [A7 + 0x14]
0000349A 670A beq +0xC /* 000034A6 */
0000349C 2697 move.l [A3], [A7]
0000349E 34BC 0001 move.w [A2], 0x1
000034A2 7000 moveq.l D0, 0x00
000034A4 6004 bra +0x6 /* 000034AA */
label000034A6:
000034A6 4252 clr.w [A2]
000034A8 7065 moveq.l D0, 0x65
label000034AA:
000034AA 584F addq.w A7, 4
000034AC 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
000034B0 4E75 rts
fn000034B2:
000034B2 2F03 move.l -[A7], D3
000034B4 4FEF FFF0 lea.l A7, [A7 - 0x10]
000034B8 7600 moveq.l D3, 0x00
000034BA 4A43 tst.w D3
000034BC 661A bne +0x1C /* 000034D8 */
000034BE 486F 0004 pea.l [A7 + 0x4]
000034C2 486F 0010 pea.l [A7 + 0x10]
000034C6 2F2F 002A move.l -[A7], [A7 + 0x2A]
000034CA 2F2F 002A move.l -[A7], [A7 + 0x2A]
000034CE 4EBA F528 jsr [PC - 0xAD8 /* 000029F8 */]
000034D2 3600 move.w D3, D0
000034D4 4FEF 0010 lea.l A7, [A7 + 0x10]
label000034D8:
000034D8 4A43 tst.w D3
000034DA 6620 bne +0x22 /* 000034FC */
000034DC 4857 pea.l [A7]
000034DE 486F 000C pea.l [A7 + 0xC]
000034E2 206F 0026 movea.l A0, [A7 + 0x26]
000034E6 4868 0004 pea.l [A0 + 0x4]
000034EA 2F2F 0026 move.l -[A7], [A7 + 0x26]
000034EE 3F2F 0028 move.w -[A7], [A7 + 0x28]
000034F2 4EBA F4B2 jsr [PC - 0xB4E /* 000029A6 */]
000034F6 3600 move.w D3, D0
000034F8 4FEF 0012 lea.l A7, [A7 + 0x12]
label000034FC:
000034FC 4A43 tst.w D3
000034FE 6610 bne +0x12 /* 00003510 */
00003500 202F 000C move.l D0, [A7 + 0xC]
00003504 B0AF 0008 cmp.l D0, [A7 + 0x8]
00003508 6206 bhi +0x8 /* 00003510 */
0000350A 206F 0026 movea.l A0, [A7 + 0x26]
0000350E 4250 clr.w [A0]
label00003510:
00003510 3003 move.w D0, D3
00003512 4FEF 0010 lea.l A7, [A7 + 0x10]
00003516 261F move.l D3, [A7]+
00003518 4E75 rts
fn0000351A:
0000351A 2F03 move.l -[A7], D3
0000351C 4FEF FFF0 lea.l A7, [A7 - 0x10]
00003520 7600 moveq.l D3, 0x00
00003522 4A43 tst.w D3
00003524 661A bne +0x1C /* 00003540 */
00003526 486F 000C pea.l [A7 + 0xC]
0000352A 486F 0008 pea.l [A7 + 0x8]
0000352E 2F2F 002A move.l -[A7], [A7 + 0x2A]
00003532 2F2F 002A move.l -[A7], [A7 + 0x2A]
00003536 4EBA F4C0 jsr [PC - 0xB40 /* 000029F8 */]
0000353A 3600 move.w D3, D0
0000353C 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003540:
00003540 4A43 tst.w D3
00003542 6622 bne +0x24 /* 00003566 */
00003544 486F 0008 pea.l [A7 + 0x8]
00003548 486F 0004 pea.l [A7 + 0x4]
0000354C 206F 0026 movea.l A0, [A7 + 0x26]
00003550 4868 0004 pea.l [A0 + 0x4]
00003554 2F2F 0026 move.l -[A7], [A7 + 0x26]
00003558 3F2F 0028 move.w -[A7], [A7 + 0x28]
0000355C 4EBA F448 jsr [PC - 0xBB8 /* 000029A6 */]
00003560 3600 move.w D3, D0
00003562 4FEF 0012 lea.l A7, [A7 + 0x12]
label00003566:
00003566 4A43 tst.w D3
00003568 6610 bne +0x12 /* 0000357A */
0000356A 202F 000C move.l D0, [A7 + 0xC]
0000356E B0AF 0008 cmp.l D0, [A7 + 0x8]
00003572 6206 bhi +0x8 /* 0000357A */
00003574 206F 0026 movea.l A0, [A7 + 0x26]
00003578 4250 clr.w [A0]
label0000357A:
0000357A 3003 move.w D0, D3
0000357C 4FEF 0010 lea.l A7, [A7 + 0x10]
00003580 261F move.l D3, [A7]+
00003582 4E75 rts
fn00003584:
00003584 2F03 move.l -[A7], D3
00003586 514F subq.w A7, 8
00003588 7600 moveq.l D3, 0x00
0000358A 4A43 tst.w D3
0000358C 6622 bne +0x24 /* 000035B0 */
0000358E 486F 0004 pea.l [A7 + 0x4]
00003592 2F2F 001E move.l -[A7], [A7 + 0x1E]
00003596 2F2F 001E move.l -[A7], [A7 + 0x1E]
0000359A 4EBA F360 jsr [PC - 0xCA0 /* 000028FC */]
0000359E 3600 move.w D3, D0
000035A0 4A43 tst.w D3
000035A2 4FEF 000C lea.l A7, [A7 + 0xC]
000035A6 6708 beq +0xA /* 000035B0 */
000035A8 2F6D EC38 0004 move.l [A7 + 0x4], [A5 - 0x13C8]
000035AE 7600 moveq.l D3, 0x00
label000035B0:
000035B0 4A43 tst.w D3
000035B2 6626 bne +0x28 /* 000035DA */
000035B4 4857 pea.l [A7]
000035B6 206F 001A movea.l A0, [A7 + 0x1A]
000035BA 4868 0004 pea.l [A0 + 0x4]
000035BE 2F2F 001A move.l -[A7], [A7 + 0x1A]
000035C2 3F2F 001C move.w -[A7], [A7 + 0x1C]
000035C6 4EBA F2B2 jsr [PC - 0xD4E /* 0000287A */]
000035CA 3600 move.w D3, D0
000035CC 4A43 tst.w D3
000035CE 4FEF 000E lea.l A7, [A7 + 0xE]
000035D2 6706 beq +0x8 /* 000035DA */
000035D4 2EAD EC38 move.l [A7], [A5 - 0x13C8]
000035D8 7600 moveq.l D3, 0x00
label000035DA:
000035DA 4A43 tst.w D3
000035DC 6600 0082 bne +0x84 /* 00003660 */
000035E0 3017 move.w D0, [A7]
000035E2 E048 lsr D0.w, 8
000035E4 322F 0004 move.w D1, [A7 + 0x4]
000035E8 E049 lsr D1.w, 8
000035EA B240 cmp.w D1, D0
000035EC 656C bcs +0x6E /* 0000365A */
000035EE 3017 move.w D0, [A7]
000035F0 E048 lsr D0.w, 8
000035F2 322F 0004 move.w D1, [A7 + 0x4]
000035F6 E049 lsr D1.w, 8
000035F8 B240 cmp.w D1, D0
000035FA 6664 bne +0x66 /* 00003660 */
000035FC 102F 0001 move.b D0, [A7 + 0x1]
00003600 E808 lsr D0.b, 4
00003602 122F 0005 move.b D1, [A7 + 0x5]
00003606 E809 lsr D1.b, 4
00003608 B200 cmp.b D1, D0
0000360A 654E bcs +0x50 /* 0000365A */
0000360C 102F 0001 move.b D0, [A7 + 0x1]
00003610 E808 lsr D0.b, 4
00003612 122F 0005 move.b D1, [A7 + 0x5]
00003616 E809 lsr D1.b, 4
00003618 B200 cmp.b D1, D0
0000361A 6644 bne +0x46 /* 00003660 */
0000361C 700F moveq.l D0, 0x0F
0000361E C02F 0001 and.b D0, [A7 + 0x1]
00003622 720F moveq.l D1, 0x0F
00003624 C22F 0005 and.b D1, [A7 + 0x5]
00003628 B200 cmp.b D1, D0
0000362A 652E bcs +0x30 /* 0000365A */
0000362C 700F moveq.l D0, 0x0F
0000362E C02F 0001 and.b D0, [A7 + 0x1]
00003632 720F moveq.l D1, 0x0F
00003634 C22F 0005 and.b D1, [A7 + 0x5]
00003638 B200 cmp.b D1, D0
0000363A 6624 bne +0x26 /* 00003660 */
0000363C 102F 0006 move.b D0, [A7 + 0x6]
00003640 B02F 0002 cmp.b D0, [A7 + 0x2]
00003644 6514 bcs +0x16 /* 0000365A */
00003646 102F 0006 move.b D0, [A7 + 0x6]
0000364A B02F 0002 cmp.b D0, [A7 + 0x2]
0000364E 6610 bne +0x12 /* 00003660 */
00003650 102F 0007 move.b D0, [A7 + 0x7]
00003654 B02F 0003 cmp.b D0, [A7 + 0x3]
00003658 6206 bhi +0x8 /* 00003660 */
label0000365A:
0000365A 206F 001E movea.l A0, [A7 + 0x1E]
0000365E 4250 clr.w [A0]
label00003660:
00003660 3003 move.w D0, D3
00003662 504F addq.w A7, 8
00003664 261F move.l D3, [A7]+
00003666 4E75 rts
fn00003668:
00003668 48E7 1038 movem.l -[A7], D3,A2,A3,A4
0000366C 4FEF FEFE lea.l A7, [A7 - 0x102]
00003670 286F 0116 movea.l A4, [A7 + 0x116]
00003674 266F 011A movea.l A3, [A7 + 0x11A]
00003678 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000367C 4EAD FBA0 jsr [A5 - 0x460]
00003680 4A00 tst.b D0
00003682 544F addq.w A7, 2
00003684 6606 bne +0x8 /* 0000368C */
00003686 7000 moveq.l D0, 0x00
00003688 6000 0102 bra +0x104 /* 0000378C */
label0000368C:
0000368C 0C2D 0001 E8C0 cmpi.b [A5 - 0x1740], 0x1
00003692 6606 bne +0x8 /* 0000369A */
00003694 7000 moveq.l D0, 0x00
00003696 6000 00F4 bra +0xF6 /* 0000378C */
label0000369A:
0000369A 2F3C 7D07 000A move.l -[A7], 0x7D07000A
000036A0 4EAD FE98 jsr [A5 - 0x168]
000036A4 2448 movea.l A2, A0
000036A6 200A move.l D0, A2
000036A8 4A80 tst.l D0
000036AA 584F addq.w A7, 4
000036AC 6700 00DC beq +0xDE /* 0000378A */
000036B0 1F3C 0003 move.b -[A7], 0x3
000036B4 4EBA D254 jsr [PC - 0x2DAC /* 0000090A */]
000036B8 0C00 0041 cmpi.b D0, 0x41 /* 'A' */
000036BC 544F addq.w A7, 2
000036BE 6708 beq +0xA /* 000036C8 */
000036C0 2F0A move.l -[A7], A2
000036C2 3F3C 0003 move.w -[A7], 0x3
000036C6 A827 syscall HideDialogItem/HideDItem
label000036C8:
000036C8 1B7C 0001 E533 move.b [A5 - 0x1ACD], 0x1
000036CE 486D E4A8 pea.l [A5 - 0x1B58]
000036D2 A851 syscall SetCursor
000036D4 3F3C 0005 move.w -[A7], 0x5
000036D8 A9C8 syscall SysBeep
000036DA 486F 0002 pea.l [A7 + 0x2]
000036DE 3F3C 7D07 move.w -[A7], 0x7D07
000036E2 7002 moveq.l D0, 0x02
000036E4 B0AF 0124 cmp.l D0, [A7 + 0x124]
000036E8 6704 beq +0x6 /* 000036EE */
000036EA 7001 moveq.l D0, 0x01
000036EC 6002 bra +0x4 /* 000036F0 */
label000036EE:
000036EE 7002 moveq.l D0, 0x02
label000036F0:
000036F0 3F00 move.w -[A7], D0
000036F2 4EAD FF80 jsr [A5 - 0x80]
000036F6 554F subq.w A7, 2
000036F8 2F0C move.l -[A7], A4
000036FA 486D FA1E pea.l [A5 - 0x5E2]
000036FE 1F3C 0001 move.b -[A7], 0x1
00003702 1F3C 0001 move.b -[A7], 0x1
00003706 4EAD FEC8 jsr [A5 - 0x138]
0000370A 101F move.b D0, [A7]+
0000370C 6610 bne +0x12 /* 0000371E */
0000370E 2F0C move.l -[A7], A4
00003710 486F 0006 pea.l [A7 + 0x6]
00003714 2F0B move.l -[A7], A3
00003716 486D FA25 pea.l [A5 - 0x5DB]
0000371A A98B syscall ParamText
0000371C 6010 bra +0x12 /* 0000372E */
label0000371E:
0000371E 486D FA26 pea.l [A5 - 0x5DA]
00003722 486F 0006 pea.l [A7 + 0x6]
00003726 2F0B move.l -[A7], A3
00003728 486D FA25 pea.l [A5 - 0x5DB]
0000372C A98B syscall ParamText
label0000372E:
0000372E 2F0A move.l -[A7], A2
00003730 A915 syscall ShowWindow
00003732 2F0A move.l -[A7], A2
00003734 A922 syscall BeginUpdate
00003736 2F0A move.l -[A7], A2
00003738 A981 syscall DrawDialog
0000373A 3F3C 0001 move.w -[A7], 0x1
0000373E 2F0A move.l -[A7], A2
00003740 4EAD FE90 jsr [A5 - 0x170]
00003744 2F0A move.l -[A7], A2
00003746 A923 syscall EndUpdate
00003748 7600 moveq.l D3, 0x00
0000374A 5C4F addq.w A7, 6
0000374C 6030 bra +0x32 /* 0000377E */
label0000374E:
0000374E 42A7 clr.l -[A7]
00003750 486F 0004 pea.l [A7 + 0x4]
00003754 A991 syscall ModalDialog
00003756 3017 move.w D0, [A7]
00003758 48C0 ext.l D0
0000375A 5380 subq.l D0, 1
0000375C 670A beq +0xC /* 00003768 */
0000375E 5380 subq.l D0, 1
00003760 670A beq +0xC /* 0000376C */
00003762 5380 subq.l D0, 1
00003764 6710 beq +0x12 /* 00003776 */
00003766 6016 bra +0x18 /* 0000377E */
label00003768:
00003768 7601 moveq.l D3, 0x01
0000376A 6012 bra +0x14 /* 0000377E */
label0000376C:
0000376C 206F 0122 movea.l A0, [A7 + 0x122]
00003770 4250 clr.w [A0]
00003772 7601 moveq.l D3, 0x01
00003774 6008 bra +0xA /* 0000377E */
label00003776:
00003776 1B7C 0001 E8C0 move.b [A5 - 0x1740], 0x1
0000377C 7601 moveq.l D3, 0x01
label0000377E:
0000377E 4A03 tst.b D3
00003780 67CC beq -0x32 /* 0000374E */
00003782 2F0A move.l -[A7], A2
00003784 A983 syscall DisposeDialog
00003786 422D E533 clr.b [A5 - 0x1ACD]
label0000378A:
0000378A 7000 moveq.l D0, 0x00
label0000378C:
0000378C 4FEF 0102 lea.l A7, [A7 + 0x102]
00003790 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00003794 4E75 rts
fn00003796:
00003796 2F03 move.l -[A7], D3
00003798 4FEF FF86 lea.l A7, [A7 - 0x7A]
0000379C 2F6F 0088 0012 move.l [A7 + 0x12], [A7 + 0x88]
000037A2 3F6F 0082 0016 move.w [A7 + 0x16], [A7 + 0x82]
000037A8 2F6F 0084 0030 move.l [A7 + 0x30], [A7 + 0x84]
000037AE 422F 001F clr.b [A7 + 0x1F]
000037B2 422F 001A clr.b [A7 + 0x1A]
000037B6 426F 001C clr.w [A7 + 0x1C]
000037BA 41D7 lea.l A0, [A7]
000037BC A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
000037BE 4A40 tst.w D0
000037C0 57C0 seq D0
000037C2 4400 neg.b D0
000037C4 4880 ext.w D0
000037C6 48C0 ext.l D0
000037C8 1600 move.b D3, D0
000037CA 4A03 tst.b D3
000037CC 670C beq +0xE /* 000037DA */
000037CE 102F 001E move.b D0, [A7 + 0x1E]
000037D2 7210 moveq.l D1, 0x10
000037D4 C081 and.l D0, D1
000037D6 6702 beq +0x4 /* 000037DA */
000037D8 7600 moveq.l D3, 0x00
label000037DA:
000037DA 1003 move.b D0, D3
000037DC 4FEF 007A lea.l A7, [A7 + 0x7A]
000037E0 261F move.l D3, [A7]+
000037E2 4E75 rts
fn000037E4:
000037E4 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
000037E8 2C6F 0024 movea.l A6, [A7 + 0x24]
000037EC 266F 0028 movea.l A3, [A7 + 0x28]
000037F0 246F 002C movea.l A2, [A7 + 0x2C]
000037F4 2A2F 0030 move.l D5, [A7 + 0x30]
000037F8 286F 0034 movea.l A4, [A7 + 0x34]
000037FC 7600 moveq.l D3, 0x00
000037FE 486A 0004 pea.l [A2 + 0x4]
00003802 2F13 move.l -[A7], [A3]
00003804 3F16 move.w -[A7], [A6]
00003806 4EBA FF8E jsr [PC - 0x72 /* 00003796 */]
0000380A 1800 move.b D4, D0
0000380C 1F04 move.b -[A7], D4
0000380E 2F0A move.l -[A7], A2
00003810 4EBA F4A0 jsr [PC - 0xB60 /* 00002CB2 */]
00003814 3880 move.w [A4], D0
00003816 486D EC7C pea.l [A5 - 0x1384]
0000381A 2F13 move.l -[A7], [A3]
0000381C 3F16 move.w -[A7], [A6]
0000381E 4EAD FBB8 jsr [A5 - 0x448]
00003822 3014 move.w D0, [A4]
00003824 7202 moveq.l D1, 0x02
00003826 C081 and.l D0, D1
00003828 4A80 tst.l D0
0000382A 4FEF 001A lea.l A7, [A7 + 0x1A]
0000382E 6604 bne +0x6 /* 00003834 */
00003830 7000 moveq.l D0, 0x00
00003832 6002 bra +0x4 /* 00003836 */
label00003834:
00003834 7001 moveq.l D0, 0x01
label00003836:
00003836 4A80 tst.l D0
00003838 6700 009A beq +0x9C /* 000038D4 */
0000383C 3014 move.w D0, [A4]
0000383E 7201 moveq.l D1, 0x01
00003840 C081 and.l D0, D1
00003842 4A80 tst.l D0
00003844 6604 bne +0x6 /* 0000384A */
00003846 7000 moveq.l D0, 0x00
00003848 6002 bra +0x4 /* 0000384C */
label0000384A:
0000384A 7001 moveq.l D0, 0x01
label0000384C:
0000384C 4A80 tst.l D0
0000384E 6700 0084 beq +0x86 /* 000038D4 */
00003852 7000 moveq.l D0, 0x00
00003854 102A 0045 move.b D0, [A2 + 0x45]
00003858 0480 0000 0041 subi.l D0, 0x41 /* 'A' */
0000385E 6774 beq +0x76 /* 000038D4 */
00003860 5580 subq.l D0, 2
00003862 6718 beq +0x1A /* 0000387C */
00003864 5180 subq.l D0, 8
00003866 5580 subq.l D0, 2
00003868 6728 beq +0x2A /* 00003892 */
0000386A 5380 subq.l D0, 1
0000386C 670A beq +0xC /* 00003878 */
0000386E 5580 subq.l D0, 2
00003870 674C beq +0x4E /* 000038BE */
00003872 5D80 subq.l D0, 6
00003874 6732 beq +0x34 /* 000038A8 */
00003876 605C bra +0x5E /* 000038D4 */
label00003878:
00003878 4254 clr.w [A4]
0000387A 6058 bra +0x5A /* 000038D4 */
label0000387C:
0000387C 2F0C move.l -[A7], A4
0000387E 2F05 move.l -[A7], D5
00003880 2F0A move.l -[A7], A2
00003882 2F13 move.l -[A7], [A3]
00003884 3F16 move.w -[A7], [A6]
00003886 4EBA FC2A jsr [PC - 0x3D6 /* 000034B2 */]
0000388A 3600 move.w D3, D0
0000388C 4FEF 0012 lea.l A7, [A7 + 0x12]
00003890 6042 bra +0x44 /* 000038D4 */
label00003892:
00003892 2F0C move.l -[A7], A4
00003894 2F05 move.l -[A7], D5
00003896 2F0A move.l -[A7], A2
00003898 2F13 move.l -[A7], [A3]
0000389A 3F16 move.w -[A7], [A6]
0000389C 4EBA FC7C jsr [PC - 0x384 /* 0000351A */]
000038A0 3600 move.w D3, D0
000038A2 4FEF 0012 lea.l A7, [A7 + 0x12]
000038A6 602C bra +0x2E /* 000038D4 */
label000038A8:
000038A8 2F0C move.l -[A7], A4
000038AA 2F05 move.l -[A7], D5
000038AC 2F0A move.l -[A7], A2
000038AE 2F13 move.l -[A7], [A3]
000038B0 3F16 move.w -[A7], [A6]
000038B2 4EBA FCD0 jsr [PC - 0x330 /* 00003584 */]
000038B6 3600 move.w D3, D0
000038B8 4FEF 0012 lea.l A7, [A7 + 0x12]
000038BC 6016 bra +0x18 /* 000038D4 */
label000038BE:
000038BE 2F0C move.l -[A7], A4
000038C0 2F13 move.l -[A7], [A3]
000038C2 486D EC7C pea.l [A5 - 0x1384]
000038C6 486A 0004 pea.l [A2 + 0x4]
000038CA 4EBA FD9C jsr [PC - 0x264 /* 00003668 */]
000038CE 3600 move.w D3, D0
000038D0 4FEF 0010 lea.l A7, [A7 + 0x10]
label000038D4:
000038D4 3014 move.w D0, [A4]
000038D6 7201 moveq.l D1, 0x01
000038D8 C081 and.l D0, D1
000038DA 4A80 tst.l D0
000038DC 6604 bne +0x6 /* 000038E2 */
000038DE 7000 moveq.l D0, 0x00
000038E0 6002 bra +0x4 /* 000038E4 */
label000038E2:
000038E2 7001 moveq.l D0, 0x01
label000038E4:
000038E4 4A80 tst.l D0
000038E6 6714 beq +0x16 /* 000038FC */
000038E8 4A43 tst.w D3
000038EA 6610 bne +0x12 /* 000038FC */
000038EC 2F13 move.l -[A7], [A3]
000038EE 3F16 move.w -[A7], [A6]
000038F0 2F0A move.l -[A7], A2
000038F2 4EBA EDE6 jsr [PC - 0x121A /* 000026DA */]
000038F6 3600 move.w D3, D0
000038F8 4FEF 000A lea.l A7, [A7 + 0xA]
label000038FC:
000038FC 3014 move.w D0, [A4]
000038FE 7202 moveq.l D1, 0x02
00003900 C081 and.l D0, D1
00003902 4A80 tst.l D0
00003904 6604 bne +0x6 /* 0000390A */
00003906 7000 moveq.l D0, 0x00
00003908 6002 bra +0x4 /* 0000390C */
label0000390A:
0000390A 7001 moveq.l D0, 0x01
label0000390C:
0000390C 4A80 tst.l D0
0000390E 6716 beq +0x18 /* 00003926 */
00003910 4A43 tst.w D3
00003912 6612 bne +0x14 /* 00003926 */
00003914 486A 0004 pea.l [A2 + 0x4]
00003918 2F13 move.l -[A7], [A3]
0000391A 3F16 move.w -[A7], [A6]
0000391C 4EBA CBA4 jsr [PC - 0x345C /* 000004C2 */]
00003920 3600 move.w D3, D0
00003922 4FEF 000A lea.l A7, [A7 + 0xA]
label00003926:
00003926 3014 move.w D0, [A4]
00003928 7201 moveq.l D1, 0x01
0000392A C081 and.l D0, D1
0000392C 4A80 tst.l D0
0000392E 6604 bne +0x6 /* 00003934 */
00003930 7000 moveq.l D0, 0x00
00003932 6002 bra +0x4 /* 00003936 */
label00003934:
00003934 7001 moveq.l D0, 0x01
label00003936:
00003936 4A80 tst.l D0
00003938 6700 00C4 beq +0xC6 /* 000039FE */
0000393C 4A43 tst.w D3
0000393E 6600 00BE bne +0xC0 /* 000039FE */
00003942 4A2A 00A6 tst.b [A2 + 0xA6]
00003946 6708 beq +0xA /* 00003950 */
00003948 206D EFDC movea.l A0, [A5 - 0x1024]
0000394C 4A10 tst.b [A0]
0000394E 6604 bne +0x6 /* 00003954 */
label00003950:
00003950 7000 moveq.l D0, 0x00
00003952 6002 bra +0x4 /* 00003956 */
label00003954:
00003954 7001 moveq.l D0, 0x01
label00003956:
00003956 1800 move.b D4, D0
00003958 4AAA 007C tst.l [A2 + 0x7C]
0000395C 6608 bne +0xA /* 00003966 */
0000395E 203C 6172 6368 move.l D0, 0x61726368 /* 'arch' */
00003964 6006 bra +0x8 /* 0000396C */
label00003966:
00003966 206A 007C movea.l A0, [A2 + 0x7C]
0000396A 2010 move.l D0, [A0]
label0000396C:
0000396C 2C00 move.l D6, D0
0000396E 0C86 6172 6368 cmpi.l D6, 0x61726368 /* 'arch' */
00003974 6712 beq +0x14 /* 00003988 */
00003976 0C86 6C6F 6F73 cmpi.l D6, 0x6C6F6F73 /* 'loos' */
0000397C 672A beq +0x2C /* 000039A8 */
0000397E 0C86 6674 7020 cmpi.l D6, 0x66747020 /* 'ftp ' */
00003984 6744 beq +0x46 /* 000039CA */
00003986 6062 bra +0x64 /* 000039EA */
label00003988:
00003988 486D FD60 pea.l [A5 - 0x2A0]
0000398C 1F04 move.b -[A7], D4
0000398E 2F13 move.l -[A7], [A3]
00003990 3F16 move.w -[A7], [A6]
00003992 2F05 move.l -[A7], D5
00003994 4EAD FE60 jsr [A5 - 0x1A0]
00003998 3600 move.w D3, D0
0000399A 0C43 8237 cmpi.w D3, 0x8237
0000399E 4FEF 0010 lea.l A7, [A7 + 0x10]
000039A2 6646 bne +0x48 /* 000039EA */
000039A4 7601 moveq.l D3, 0x01
000039A6 6042 bra +0x44 /* 000039EA */
label000039A8:
000039A8 486D FD60 pea.l [A5 - 0x2A0]
000039AC 2F2A 00A8 move.l -[A7], [A2 + 0xA8]
000039B0 1F04 move.b -[A7], D4
000039B2 486A 0004 pea.l [A2 + 0x4]
000039B6 2F13 move.l -[A7], [A3]
000039B8 3F16 move.w -[A7], [A6]
000039BA 2F2A 007C move.l -[A7], [A2 + 0x7C]
000039BE 4EBA CB60 jsr [PC - 0x34A0 /* 00000520 */]
000039C2 3600 move.w D3, D0
000039C4 4FEF 0018 lea.l A7, [A7 + 0x18]
000039C8 6020 bra +0x22 /* 000039EA */
label000039CA:
000039CA 486D FD60 pea.l [A5 - 0x2A0]
000039CE 2F2A 00A8 move.l -[A7], [A2 + 0xA8]
000039D2 1F04 move.b -[A7], D4
000039D4 486A 0004 pea.l [A2 + 0x4]
000039D8 2F13 move.l -[A7], [A3]
000039DA 3F16 move.w -[A7], [A6]
000039DC 2F2A 007C move.l -[A7], [A2 + 0x7C]
000039E0 4EBA DCAE jsr [PC - 0x2352 /* 00001690 */]
000039E4 3600 move.w D3, D0
000039E6 4FEF 0018 lea.l A7, [A7 + 0x18]
label000039EA:
000039EA 4A43 tst.w D3
000039EC 6710 beq +0x12 /* 000039FE */
000039EE 486A 0004 pea.l [A2 + 0x4]
000039F2 2F13 move.l -[A7], [A3]
000039F4 3F16 move.w -[A7], [A6]
000039F6 4EBA CAB2 jsr [PC - 0x354E /* 000004AA */]
000039FA 4FEF 000A lea.l A7, [A7 + 0xA]
label000039FE:
000039FE 3003 move.w D0, D3
00003A00 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
00003A04 4E75 rts
fn00003A06:
00003A06 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00003A0A 266F 001C movea.l A3, [A7 + 0x1C]
00003A0E 2C6F 0020 movea.l A6, [A7 + 0x20]
00003A12 246F 0024 movea.l A2, [A7 + 0x24]
00003A16 286F 0028 movea.l A4, [A7 + 0x28]
00003A1A 7600 moveq.l D3, 0x00
00003A1C 4214 clr.b [A4]
00003A1E 4AAB 007C tst.l [A3 + 0x7C]
00003A22 6608 bne +0xA /* 00003A2C */
00003A24 203C 6172 6368 move.l D0, 0x61726368 /* 'arch' */
00003A2A 6006 bra +0x8 /* 00003A32 */
label00003A2C:
00003A2C 206B 007C movea.l A0, [A3 + 0x7C]
00003A30 2010 move.l D0, [A0]
label00003A32:
00003A32 2600 move.l D3, D0
00003A34 0C83 6172 6368 cmpi.l D3, 0x61726368 /* 'arch' */
00003A3A 6716 beq +0x18 /* 00003A52 */
00003A3C 0C83 6C6F 6F73 cmpi.l D3, 0x6C6F6F73 /* 'loos' */
00003A42 677C beq +0x7E /* 00003AC0 */
00003A44 0C83 6674 7020 cmpi.l D3, 0x66747020 /* 'ftp ' */
00003A4A 6700 008E beq +0x90 /* 00003ADA */
00003A4E 6000 00EC bra +0xEE /* 00003B3C */
label00003A52:
00003A52 34AD EE80 move.w [A2], [A5 - 0x1180]
00003A56 256D EE7C 0002 move.l [A2 + 0x2], [A5 - 0x1184]
00003A5C 486A 0006 pea.l [A2 + 0x6]
00003A60 2F0E move.l -[A7], A6
00003A62 4EAD FE38 jsr [A5 - 0x1C8]
00003A66 2F0A move.l -[A7], A2
00003A68 4EBA C59E jsr [PC - 0x3A62 /* 00000008 */]
00003A6C 3600 move.w D3, D0
00003A6E 4A43 tst.w D3
00003A70 4FEF 000C lea.l A7, [A7 + 0xC]
00003A74 663A bne +0x3C /* 00003AB0 */
00003A76 4A2B 00A6 tst.b [A3 + 0xA6]
00003A7A 6708 beq +0xA /* 00003A84 */
00003A7C 206D EFDC movea.l A0, [A5 - 0x1024]
00003A80 4A10 tst.b [A0]
00003A82 6604 bne +0x6 /* 00003A88 */
label00003A84:
00003A84 7000 moveq.l D0, 0x00
00003A86 6002 bra +0x4 /* 00003A8A */
label00003A88:
00003A88 7001 moveq.l D0, 0x01
label00003A8A:
00003A8A 1800 move.b D4, D0
00003A8C 486A 0006 pea.l [A2 + 0x6]
00003A90 2F0E move.l -[A7], A6
00003A92 4EAD FE40 jsr [A5 - 0x1C0]
00003A96 486D FD60 pea.l [A5 - 0x2A0]
00003A9A 1F04 move.b -[A7], D4
00003A9C 2F2D EE7C move.l -[A7], [A5 - 0x1184]
00003AA0 3F2D EE80 move.w -[A7], [A5 - 0x1180]
00003AA4 2F0E move.l -[A7], A6
00003AA6 4EAD FE60 jsr [A5 - 0x1A0]
00003AAA 3600 move.w D3, D0
00003AAC 4FEF 0018 lea.l A7, [A7 + 0x18]
label00003AB0:
00003AB0 0C43 8237 cmpi.w D3, 0x8237
00003AB4 6602 bne +0x4 /* 00003AB8 */
00003AB6 7601 moveq.l D3, 0x01
label00003AB8:
00003AB8 18BC 0001 move.b [A4], 0x1
00003ABC 6000 0080 bra +0x82 /* 00003B3E */
label00003AC0:
00003AC0 486A 0006 pea.l [A2 + 0x6]
00003AC4 486A 0002 pea.l [A2 + 0x2]
00003AC8 2F0A move.l -[A7], A2
00003ACA 2F2B 007C move.l -[A7], [A3 + 0x7C]
00003ACE 4EBA ECC8 jsr [PC - 0x1338 /* 00002798 */]
00003AD2 3600 move.w D3, D0
00003AD4 4FEF 0010 lea.l A7, [A7 + 0x10]
00003AD8 6064 bra +0x66 /* 00003B3E */
label00003ADA:
00003ADA 34AD EE80 move.w [A2], [A5 - 0x1180]
00003ADE 256D EE7C 0002 move.l [A2 + 0x2], [A5 - 0x1184]
00003AE4 41EB 0004 lea.l A0, [A3 + 0x4]
00003AE8 43EA 0006 lea.l A1, [A2 + 0x6]
00003AEC 7040 moveq.l D0, 0x40
00003AEE A02E syscall BlockMove/BlockMoveData
00003AF0 2F0A move.l -[A7], A2
00003AF2 4EBA C514 jsr [PC - 0x3AEC /* 00000008 */]
00003AF6 3600 move.w D3, D0
00003AF8 4A43 tst.w D3
00003AFA 584F addq.w A7, 4
00003AFC 6638 bne +0x3A /* 00003B36 */
00003AFE 4A2B 00A6 tst.b [A3 + 0xA6]
00003B02 6708 beq +0xA /* 00003B0C */
00003B04 206D EFDC movea.l A0, [A5 - 0x1024]
00003B08 4A10 tst.b [A0]
00003B0A 6604 bne +0x6 /* 00003B10 */
label00003B0C:
00003B0C 7000 moveq.l D0, 0x00
00003B0E 6002 bra +0x4 /* 00003B12 */
label00003B10:
00003B10 7001 moveq.l D0, 0x01
label00003B12:
00003B12 1800 move.b D4, D0
00003B14 486D FD60 pea.l [A5 - 0x2A0]
00003B18 2F2B 00A8 move.l -[A7], [A3 + 0xA8]
00003B1C 1F04 move.b -[A7], D4
00003B1E 486A 0006 pea.l [A2 + 0x6]
00003B22 2F2A 0002 move.l -[A7], [A2 + 0x2]
00003B26 3F12 move.w -[A7], [A2]
00003B28 2F2B 007C move.l -[A7], [A3 + 0x7C]
00003B2C 4EBA DB62 jsr [PC - 0x249E /* 00001690 */]
00003B30 3600 move.w D3, D0
00003B32 4FEF 0018 lea.l A7, [A7 + 0x18]
label00003B36:
00003B36 18BC 0001 move.b [A4], 0x1
00003B3A 6002 bra +0x4 /* 00003B3E */
label00003B3C:
00003B3C 76FF moveq.l D3, 0xFFFFFFFF
label00003B3E:
00003B3E 3003 move.w D0, D3
00003B40 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00003B44 4E75 rts
fn00003B46:
00003B46 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00003B4A 4FEF FF72 lea.l A7, [A7 - 0x8E]
00003B4E 2C6F 00AA movea.l A6, [A7 + 0xAA]
00003B52 286F 00AE movea.l A4, [A7 + 0xAE]
00003B56 246F 00B2 movea.l A2, [A7 + 0xB2]
00003B5A 266F 00BA movea.l A3, [A7 + 0xBA]
00003B5E 7600 moveq.l D3, 0x00
00003B60 486A 0004 pea.l [A2 + 0x4]
00003B64 2F14 move.l -[A7], [A4]
00003B66 3F16 move.w -[A7], [A6]
00003B68 4EBA FC2C jsr [PC - 0x3D4 /* 00003796 */]
00003B6C 1800 move.b D4, D0
00003B6E 4A04 tst.b D4
00003B70 4FEF 000A lea.l A7, [A7 + 0xA]
00003B74 6604 bne +0x6 /* 00003B7A */
00003B76 7000 moveq.l D0, 0x00
00003B78 600C bra +0xE /* 00003B86 */
label00003B7A:
00003B7A 4227 clr.b -[A7]
00003B7C 2F0A move.l -[A7], A2
00003B7E 4EBA F132 jsr [PC - 0xECE /* 00002CB2 */]
00003B82 48C0 ext.l D0
00003B84 5C4F addq.w A7, 6
label00003B86:
00003B86 3680 move.w [A3], D0
00003B88 3013 move.w D0, [A3]
00003B8A 7201 moveq.l D1, 0x01
00003B8C C081 and.l D0, D1
00003B8E 4A80 tst.l D0
00003B90 6604 bne +0x6 /* 00003B96 */
00003B92 7000 moveq.l D0, 0x00
00003B94 6002 bra +0x4 /* 00003B98 */
label00003B96:
00003B96 7001 moveq.l D0, 0x01
label00003B98:
00003B98 4A80 tst.l D0
00003B9A 6714 beq +0x16 /* 00003BB0 */
00003B9C 4A43 tst.w D3
00003B9E 6610 bne +0x12 /* 00003BB0 */
00003BA0 2F14 move.l -[A7], [A4]
00003BA2 3F16 move.w -[A7], [A6]
00003BA4 2F0A move.l -[A7], A2
00003BA6 4EBA EB32 jsr [PC - 0x14CE /* 000026DA */]
00003BAA 3600 move.w D3, D0
00003BAC 4FEF 000A lea.l A7, [A7 + 0xA]
label00003BB0:
00003BB0 3013 move.w D0, [A3]
00003BB2 7201 moveq.l D1, 0x01
00003BB4 C081 and.l D0, D1
00003BB6 4A80 tst.l D0
00003BB8 6604 bne +0x6 /* 00003BBE */
00003BBA 7000 moveq.l D0, 0x00
00003BBC 6002 bra +0x4 /* 00003BC0 */
label00003BBE:
00003BBE 7001 moveq.l D0, 0x01
label00003BC0:
00003BC0 4A80 tst.l D0
00003BC2 6700 009C beq +0x9E /* 00003C60 */
00003BC6 4A43 tst.w D3
00003BC8 6600 0096 bne +0x98 /* 00003C60 */
00003BCC 486F 0001 pea.l [A7 + 0x1]
00003BD0 486F 0006 pea.l [A7 + 0x6]
00003BD4 2F2F 00BE move.l -[A7], [A7 + 0xBE]
00003BD8 2F0A move.l -[A7], A2
00003BDA 4EBA FE2A jsr [PC - 0x1D6 /* 00003A06 */]
00003BDE 3600 move.w D3, D0
00003BE0 4A43 tst.w D3
00003BE2 4FEF 0010 lea.l A7, [A7 + 0x10]
00003BE6 665E bne +0x60 /* 00003C46 */
00003BE8 3F56 0048 move.w [A7 + 0x48], [A6]
00003BEC 2F54 004A move.l [A7 + 0x4A], [A4]
00003BF0 41EA 0004 lea.l A0, [A2 + 0x4]
00003BF4 43EF 004E lea.l A1, [A7 + 0x4E]
00003BF8 7040 moveq.l D0, 0x40
00003BFA A02E syscall BlockMove/BlockMoveData
00003BFC 486D FD60 pea.l [A5 - 0x2A0]
00003C00 486F 004C pea.l [A7 + 0x4C]
00003C04 486F 000A pea.l [A7 + 0xA]
00003C08 4EBA E380 jsr [PC - 0x1C80 /* 00001F8A */]
00003C0C 3600 move.w D3, D0
00003C0E 4A43 tst.w D3
00003C10 4FEF 000C lea.l A7, [A7 + 0xC]
00003C14 6730 beq +0x32 /* 00003C46 */
00003C16 4A43 tst.w D3
00003C18 6C18 bge +0x1A /* 00003C32 */
00003C1A 486F 004E pea.l [A7 + 0x4E]
00003C1E 2F2F 004E move.l -[A7], [A7 + 0x4E]
00003C22 3F2F 0050 move.w -[A7], [A7 + 0x50]
00003C26 4EBA C882 jsr [PC - 0x377E /* 000004AA */]
00003C2A 48C3 ext.l D3
00003C2C 4483 neg.l D3
00003C2E 4FEF 000A lea.l A7, [A7 + 0xA]
label00003C32:
00003C32 0C43 0001 cmpi.w D3, 0x1
00003C36 670E beq +0x10 /* 00003C46 */
00003C38 3003 move.w D0, D3
00003C3A 48C0 ext.l D0
00003C3C 223C FFFF 82B0 move.l D1, 0xFFFF82B0
00003C42 9280 sub.l D1, D0
00003C44 3601 move.w D3, D1
label00003C46:
00003C46 4A2F 0001 tst.b [A7 + 0x1]
00003C4A 6714 beq +0x16 /* 00003C60 */
00003C4C 486F 0008 pea.l [A7 + 0x8]
00003C50 2F2F 0008 move.l -[A7], [A7 + 0x8]
00003C54 3F2F 000A move.w -[A7], [A7 + 0xA]
00003C58 4EBA C850 jsr [PC - 0x37B0 /* 000004AA */]
00003C5C 4FEF 000A lea.l A7, [A7 + 0xA]
label00003C60:
00003C60 3003 move.w D0, D3
00003C62 4FEF 008E lea.l A7, [A7 + 0x8E]
00003C66 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00003C6A 4E75 rts
fn00003C6C:
00003C6C 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00003C70 2C6F 0018 movea.l A6, [A7 + 0x18]
00003C74 286F 001C movea.l A4, [A7 + 0x1C]
00003C78 266F 0020 movea.l A3, [A7 + 0x20]
00003C7C 246F 0028 movea.l A2, [A7 + 0x28]
00003C80 7600 moveq.l D3, 0x00
00003C82 4227 clr.b -[A7]
00003C84 2F0B move.l -[A7], A3
00003C86 4EBA F02A jsr [PC - 0xFD6 /* 00002CB2 */]
00003C8A 3480 move.w [A2], D0
00003C8C 3012 move.w D0, [A2]
00003C8E 7201 moveq.l D1, 0x01
00003C90 C081 and.l D0, D1
00003C92 4A80 tst.l D0
00003C94 5C4F addq.w A7, 6
00003C96 6604 bne +0x6 /* 00003C9C */
00003C98 7000 moveq.l D0, 0x00
00003C9A 6002 bra +0x4 /* 00003C9E */
label00003C9C:
00003C9C 7001 moveq.l D0, 0x01
label00003C9E:
00003C9E 4A80 tst.l D0
00003CA0 6714 beq +0x16 /* 00003CB6 */
00003CA2 4A43 tst.w D3
00003CA4 6610 bne +0x12 /* 00003CB6 */
00003CA6 2F14 move.l -[A7], [A4]
00003CA8 3F16 move.w -[A7], [A6]
00003CAA 2F0B move.l -[A7], A3
00003CAC 4EBA EA2C jsr [PC - 0x15D4 /* 000026DA */]
00003CB0 3600 move.w D3, D0
00003CB2 4FEF 000A lea.l A7, [A7 + 0xA]
label00003CB6:
00003CB6 3012 move.w D0, [A2]
00003CB8 7201 moveq.l D1, 0x01
00003CBA C081 and.l D0, D1
00003CBC 4A80 tst.l D0
00003CBE 6604 bne +0x6 /* 00003CC4 */
00003CC0 7000 moveq.l D0, 0x00
00003CC2 6002 bra +0x4 /* 00003CC6 */
label00003CC4:
00003CC4 7001 moveq.l D0, 0x01
label00003CC6:
00003CC6 4A80 tst.l D0
00003CC8 6716 beq +0x18 /* 00003CE0 */
00003CCA 4A43 tst.w D3
00003CCC 6612 bne +0x14 /* 00003CE0 */
00003CCE 204B movea.l A0, A3
00003CD0 A128 syscall RecoverHandle, flags=1
00003CD2 2F08 move.l -[A7], A0
00003CD4 2F0C move.l -[A7], A4
00003CD6 2F0E move.l -[A7], A6
00003CD8 4EBA 218E jsr [PC + 0x218E /* 00005E68 */]
00003CDC 4FEF 000C lea.l A7, [A7 + 0xC]
label00003CE0:
00003CE0 3003 move.w D0, D3
00003CE2 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00003CE6 4E75 rts
fn00003CE8:
00003CE8 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00003CEC 554F subq.w A7, 2
00003CEE 2C6F 002A movea.l A6, [A7 + 0x2A]
00003CF2 286F 002E movea.l A4, [A7 + 0x2E]
00003CF6 266F 0032 movea.l A3, [A7 + 0x32]
00003CFA 282F 0036 move.l D4, [A7 + 0x36]
00003CFE 7600 moveq.l D3, 0x00
00003D00 7A01 moveq.l D5, 0x01
00003D02 2053 movea.l A0, [A3]
00003D04 4A10 tst.b [A0]
00003D06 6602 bne +0x4 /* 00003D0A */
00003D08 7A00 moveq.l D5, 0x00
label00003D0A:
00003D0A 4A6D F3F2 tst.w [A5 - 0xC0E]
00003D0E 6716 beq +0x18 /* 00003D26 */
00003D10 2053 movea.l A0, [A3]
00003D12 3C28 0002 move.w D6, [A0 + 0x2]
00003D16 48C6 ext.l D6
00003D18 7006 moveq.l D0, 0x06
00003D1A BC80 cmp.l D6, D0
00003D1C 6708 beq +0xA /* 00003D26 */
00003D1E 7007 moveq.l D0, 0x07
00003D20 BC80 cmp.l D6, D0
00003D22 6702 beq +0x4 /* 00003D26 */
00003D24 7A00 moveq.l D5, 0x00
label00003D26:
00003D26 0C05 0001 cmpi.b D5, 0x1
00003D2A 6600 0178 bne +0x17A /* 00003EA4 */
00003D2E 204B movea.l A0, A3
00003D30 A069 syscall HGetState
00003D32 1A00 move.b D5, D0
00003D34 204B movea.l A0, A3
00003D36 A029 syscall HLock
00003D38 2453 movea.l A2, [A3]
00003D3A 3B56 EE80 move.w [A5 - 0x1180], [A6]
00003D3E 2B54 EE7C move.l [A5 - 0x1184], [A4]
00003D42 422D ED7C clr.b [A5 - 0x1284]
00003D46 4A2A 0043 tst.b [A2 + 0x43]
00003D4A 670A beq +0xC /* 00003D56 */
00003D4C 3F16 move.w -[A7], [A6]
00003D4E 2F0A move.l -[A7], A2
00003D50 4EBA F124 jsr [PC - 0xEDC /* 00002E76 */]
00003D54 5C4F addq.w A7, 6
label00003D56:
00003D56 486D EC7C pea.l [A5 - 0x1384]
00003D5A 2F14 move.l -[A7], [A4]
00003D5C 3F16 move.w -[A7], [A6]
00003D5E 4EAD FBB8 jsr [A5 - 0x448]
00003D62 41EA 0004 lea.l A0, [A2 + 0x4]
00003D66 43ED EC3C lea.l A1, [A5 - 0x13C4]
00003D6A 7040 moveq.l D0, 0x40
00003D6C A02E syscall BlockMove/BlockMoveData
00003D6E 2F14 move.l -[A7], [A4]
00003D70 486D EC7C pea.l [A5 - 0x1384]
00003D74 486D EC3C pea.l [A5 - 0x13C4]
00003D78 486D ED7C pea.l [A5 - 0x1284]
00003D7C 4EBA E536 jsr [PC - 0x1ACA /* 000022B4 */]
00003D80 4A00 tst.b D0
00003D82 4FEF 001A lea.l A7, [A7 + 0x1A]
00003D86 6600 0114 bne +0x116 /* 00003E9C */
00003D8A 3F3C 0001 move.w -[A7], 0x1
00003D8E 2F2A 006C move.l -[A7], [A2 + 0x6C]
00003D92 2F2A 0070 move.l -[A7], [A2 + 0x70]
00003D96 2F0B move.l -[A7], A3
00003D98 2F0C move.l -[A7], A4
00003D9A 2F0E move.l -[A7], A6
00003D9C 4EBA 21A6 jsr [PC + 0x21A6 /* 00005F44 */]
00003DA0 3F40 0016 move.w [A7 + 0x16], D0
00003DA4 4A40 tst.w D0
00003DA6 4FEF 0016 lea.l A7, [A7 + 0x16]
00003DAA 6600 00B6 bne +0xB8 /* 00003E62 */
00003DAE 302A 0002 move.w D0, [A2 + 0x2]
00003DB2 48C0 ext.l D0
00003DB4 0C80 0000 000A cmpi.l D0, 0xA /* '\n' */
00003DBA 6200 00A8 bhi +0xAA /* 00003E64 */
00003DBE D040 add.w D0, D0
00003DC0 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003DC4 4EFB 0002 jmp [PC + D0.w + 0x2]
00003DC8 009C 009C 009C ori.l [A4]+, 0x9C009C
00003DCE 0016 0058 ori.b [A6], 0x58 /* 'X' */
00003DD2 009C 002C 0042 ori.l [A4]+, 0x2C0042 /* ',\0B' */
00003DD8 009C 006E 0084 ori.l [A4]+, 0x6E0084
00003DDE 4857 pea.l [A7]
00003DE0 2F04 move.l -[A7], D4
00003DE2 2F0A move.l -[A7], A2
00003DE4 2F0C move.l -[A7], A4
00003DE6 2F0E move.l -[A7], A6
00003DE8 4EBA F1FA jsr [PC - 0xE06 /* 00002FE4 */]
00003DEC 3600 move.w D3, D0
00003DEE 4FEF 0014 lea.l A7, [A7 + 0x14]
00003DF2 6070 bra +0x72 /* 00003E64 */
00003DF4 4857 pea.l [A7]
00003DF6 2F04 move.l -[A7], D4
00003DF8 2F0A move.l -[A7], A2
00003DFA 2F0C move.l -[A7], A4
00003DFC 2F0E move.l -[A7], A6
00003DFE 4EBA F454 jsr [PC - 0xBAC /* 00003254 */]
00003E02 3600 move.w D3, D0
00003E04 4FEF 0014 lea.l A7, [A7 + 0x14]
00003E08 605A bra +0x5C /* 00003E64 */
00003E0A 4857 pea.l [A7]
00003E0C 2F04 move.l -[A7], D4
00003E0E 2F0A move.l -[A7], A2
00003E10 2F0C move.l -[A7], A4
00003E12 2F0E move.l -[A7], A6
00003E14 4EBA F5BA jsr [PC - 0xA46 /* 000033D0 */]
00003E18 3600 move.w D3, D0
00003E1A 4FEF 0014 lea.l A7, [A7 + 0x14]
00003E1E 6044 bra +0x46 /* 00003E64 */
00003E20 4857 pea.l [A7]
00003E22 2F04 move.l -[A7], D4
00003E24 2F0A move.l -[A7], A2
00003E26 2F0C move.l -[A7], A4
00003E28 2F0E move.l -[A7], A6
00003E2A 4EBA F9B8 jsr [PC - 0x648 /* 000037E4 */]
00003E2E 3600 move.w D3, D0
00003E30 4FEF 0014 lea.l A7, [A7 + 0x14]
00003E34 602E bra +0x30 /* 00003E64 */
00003E36 4857 pea.l [A7]
00003E38 2F04 move.l -[A7], D4
00003E3A 2F0A move.l -[A7], A2
00003E3C 2F0C move.l -[A7], A4
00003E3E 2F0E move.l -[A7], A6
00003E40 4EBA FD04 jsr [PC - 0x2FC /* 00003B46 */]
00003E44 3600 move.w D3, D0
00003E46 4FEF 0014 lea.l A7, [A7 + 0x14]
00003E4A 6018 bra +0x1A /* 00003E64 */
00003E4C 4857 pea.l [A7]
00003E4E 2F04 move.l -[A7], D4
00003E50 2F0A move.l -[A7], A2
00003E52 2F0C move.l -[A7], A4
00003E54 2F0E move.l -[A7], A6
00003E56 4EBA FE14 jsr [PC - 0x1EC /* 00003C6C */]
00003E5A 3600 move.w D3, D0
00003E5C 4FEF 0014 lea.l A7, [A7 + 0x14]
00003E60 6002 bra +0x4 /* 00003E64 */
label00003E62:
00003E62 4257 clr.w [A7]
label00003E64:
00003E64 3017 move.w D0, [A7]
00003E66 7201 moveq.l D1, 0x01
00003E68 C081 and.l D0, D1
00003E6A 4A80 tst.l D0
00003E6C 6604 bne +0x6 /* 00003E72 */
00003E6E 7000 moveq.l D0, 0x00
00003E70 6002 bra +0x4 /* 00003E74 */
label00003E72:
00003E72 7001 moveq.l D0, 0x01
label00003E74:
00003E74 4A80 tst.l D0
00003E76 6726 beq +0x28 /* 00003E9E */
00003E78 4A43 tst.w D3
00003E7A 6622 bne +0x24 /* 00003E9E */
00003E7C 3F3C 0002 move.w -[A7], 0x2
00003E80 2F2A 0074 move.l -[A7], [A2 + 0x74]
00003E84 2F2A 0078 move.l -[A7], [A2 + 0x78]
00003E88 2F0B move.l -[A7], A3
00003E8A 2F0C move.l -[A7], A4
00003E8C 2F0E move.l -[A7], A6
00003E8E 4EBA 20B4 jsr [PC + 0x20B4 /* 00005F44 */]
00003E92 3F40 0016 move.w [A7 + 0x16], D0
00003E96 4FEF 0016 lea.l A7, [A7 + 0x16]
00003E9A 6002 bra +0x4 /* 00003E9E */
label00003E9C:
00003E9C 7601 moveq.l D3, 0x01
label00003E9E:
00003E9E 204B movea.l A0, A3
00003EA0 1005 move.b D0, D5
00003EA2 A06A syscall HSetState
label00003EA4:
00003EA4 2053 movea.l A0, [A3]
00003EA6 3E28 0002 move.w D7, [A0 + 0x2]
00003EAA 48C7 ext.l D7
00003EAC 7004 moveq.l D0, 0x04
00003EAE BE80 cmp.l D7, D0
00003EB0 6706 beq +0x8 /* 00003EB8 */
00003EB2 7009 moveq.l D0, 0x09
00003EB4 BE80 cmp.l D7, D0
00003EB6 662A bne +0x2C /* 00003EE2 */
label00003EB8:
00003EB8 2053 movea.l A0, [A3]
00003EBA 4AA8 007C tst.l [A0 + 0x7C]
00003EBE 6608 bne +0xA /* 00003EC8 */
00003EC0 203C 6172 6368 move.l D0, 0x61726368 /* 'arch' */
00003EC6 6008 bra +0xA /* 00003ED0 */
label00003EC8:
00003EC8 2053 movea.l A0, [A3]
00003ECA 2068 007C movea.l A0, [A0 + 0x7C]
00003ECE 2010 move.l D0, [A0]
label00003ED0:
00003ED0 2A00 move.l D5, D0
00003ED2 0C85 6172 6368 cmpi.l D5, 0x61726368 /* 'arch' */
00003ED8 6608 bne +0xA /* 00003EE2 */
00003EDA 2F04 move.l -[A7], D4
00003EDC 4EAD FE50 jsr [A5 - 0x1B0]
00003EE0 584F addq.w A7, 4
label00003EE2:
00003EE2 3003 move.w D0, D3
00003EE4 544F addq.w A7, 2
00003EE6 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00003EEA 4E75 rts
fn00003EEC:
00003EEC 2F03 move.l -[A7], D3
00003EEE 7601 moveq.l D3, 0x01
00003EF0 601A bra +0x1C /* 00003F0C */
label00003EF2:
00003EF2 3043 movea.w A0, D3
00003EF4 2008 move.l D0, A0
00003EF6 EB88 lsl D0, 5
00003EF8 41ED EEB0 lea.l A0, [A5 - 0x1150]
00003EFC 4870 0800 pea.l [A0 + D0]
00003F00 3F3C 7D04 move.w -[A7], 0x7D04
00003F04 3F03 move.w -[A7], D3
00003F06 4EAD FF80 jsr [A5 - 0x80]
00003F0A 5243 addq.w D3, 1
label00003F0C:
00003F0C 3003 move.w D0, D3
00003F0E 48C0 ext.l D0
00003F10 7208 moveq.l D1, 0x08
00003F12 B081 cmp.l D0, D1
00003F14 6DDC blt -0x22 /* 00003EF2 */
00003F16 261F move.l D3, [A7]+
00003F18 4E75 rts
00003F1A 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00003F1E 4FEF FFE0 lea.l A7, [A7 - 0x20]
00003F22 2F2F 003E move.l -[A7], [A7 + 0x3E]
00003F26 3F3C 0003 move.w -[A7], 0x3
00003F2A 486F 000A pea.l [A7 + 0xA]
00003F2E 486F 000A pea.l [A7 + 0xA]
00003F32 486F 0026 pea.l [A7 + 0x26]
00003F36 A98D syscall GetDialogItem/GetDItem
00003F38 486F 0006 pea.l [A7 + 0x6]
00003F3C A898 syscall GetPenState
00003F3E 594F subq.w A7, 4
00003F40 A8D8 syscall NewRgn
00003F42 205F movea.l A0, [A7]+
00003F44 2448 movea.l A2, A0
00003F46 200A move.l D0, A2
00003F48 4A80 tst.l D0
00003F4A 670A beq +0xC /* 00003F56 */
00003F4C 2F0A move.l -[A7], A2
00003F4E A87A syscall GetClip
00003F50 486F 0018 pea.l [A7 + 0x18]
00003F54 A87B syscall ClipRect
label00003F56:
00003F56 3F2D EE86 move.w -[A7], [A5 - 0x117A]
00003F5A A887 syscall TextFont
00003F5C 3F2D EE82 move.w -[A7], [A5 - 0x117E]
00003F60 A88A syscall TextSize
00003F62 7000 moveq.l D0, 0x00
00003F64 102D EE84 move.b D0, [A5 - 0x117C]
00003F68 3F00 move.w -[A7], D0
00003F6A A888 syscall TextFace
00003F6C 362D EE88 move.w D3, [A5 - 0x1178]
00003F70 48C3 ext.l D3
00003F72 3A2D EE8E move.w D5, [A5 - 0x1172]
00003F76 48C5 ext.l D5
00003F78 2005 move.l D0, D5
00003F7A D083 add.l D0, D3
00003F7C 3C2D EE8A move.w D6, [A5 - 0x1176]
00003F80 48C6 ext.l D6
00003F82 DC80 add.l D6, D0
00003F84 382F 0018 move.w D4, [A7 + 0x18]
00003F88 48C4 ext.l D4
00003F8A D885 add.l D4, D5
00003F8C D883 add.l D4, D3
00003F8E 3A2F 001A move.w D5, [A7 + 0x1A]
00003F92 48C5 ext.l D5
00003F94 5C85 addq.l D5, 6
00003F96 7600 moveq.l D3, 0x00
00003F98 6038 bra +0x3A /* 00003FD2 */
label00003F9A:
00003F9A 3043 movea.w A0, D3
00003F9C 2008 move.l D0, A0
00003F9E E588 lsl D0, 2
00003FA0 41ED EFB0 lea.l A0, [A5 - 0x1050]
00003FA4 2670 0800 movea.l A3, [A0 + D0]
00003FA8 200B move.l D0, A3
00003FAA 4A80 tst.l D0
00003FAC 672A beq +0x2C /* 00003FD8 */
00003FAE 3F05 move.w -[A7], D5
00003FB0 3F04 move.w -[A7], D4
00003FB2 A893 syscall MoveTo
00003FB4 204B movea.l A0, A3
00003FB6 A029 syscall HLock
00003FB8 2F13 move.l -[A7], [A3]
00003FBA 4267 clr.w -[A7]
00003FBC 594F subq.w A7, 4
00003FBE 2F0B move.l -[A7], A3
00003FC0 4EAD FEB8 jsr [A5 - 0x148]
00003FC4 201F move.l D0, [A7]+
00003FC6 3F00 move.w -[A7], D0
00003FC8 A885 syscall DrawText
00003FCA 204B movea.l A0, A3
00003FCC A02A syscall HUnlock
00003FCE D846 add.w D4, D6
00003FD0 5243 addq.w D3, 1
label00003FD2:
00003FD2 0C43 000B cmpi.w D3, 0xB
00003FD6 6DC2 blt -0x3C /* 00003F9A */
label00003FD8:
00003FD8 200A move.l D0, A2
00003FDA 4A80 tst.l D0
00003FDC 6708 beq +0xA /* 00003FE6 */
00003FDE 2F0A move.l -[A7], A2
00003FE0 A879 syscall SetClip
00003FE2 2F0A move.l -[A7], A2
00003FE4 A8D9 syscall DisposRgn/DisposeRgn
label00003FE6:
00003FE6 4267 clr.w -[A7]
00003FE8 A887 syscall TextFont
00003FEA 4267 clr.w -[A7]
00003FEC A88A syscall TextSize
00003FEE 4267 clr.w -[A7]
00003FF0 A888 syscall TextFace
00003FF2 486F 0006 pea.l [A7 + 0x6]
00003FF6 A899 syscall SetPenState
00003FF8 4FEF 0020 lea.l A7, [A7 + 0x20]
00003FFC 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00004000 205F movea.l A0, [A7]+
00004002 5C4F addq.w A7, 6
00004004 4ED0 jmp [A0]
fn00004006:
00004006 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
0000400A 262F 0020 move.l D3, [A7 + 0x20]
0000400E 266F 0024 movea.l A3, [A7 + 0x24]
00004012 2A03 move.l D5, D3
00004014 0285 FF00 0000 andi.l D5, 0xFF000000
0000401A 7218 moveq.l D1, 0x18
0000401C E2AD lsr D5, D1
0000401E 2E03 move.l D7, D3
00004020 0287 00FF 0000 andi.l D7, 0xFF0000
00004026 7210 moveq.l D1, 0x10
00004028 E2AF lsr D7, D1
0000402A 2C03 move.l D6, D3
0000402C 0286 0000 FF00 andi.l D6, 0xFF00
00004032 E08E lsr D6, 8
00004034 2803 move.l D4, D3
00004036 0284 0000 00FF andi.l D4, 0xFF
0000403C 594F subq.w A7, 4
0000403E 2F0B move.l -[A7], A3
00004040 4EAD FF68 jsr [A5 - 0x98]
00004044 205F movea.l A0, [A7]+
00004046 2648 movea.l A3, A0
00004048 244B movea.l A2, A3
0000404A 528A addq.l A2, 1
0000404C 4A05 tst.b D5
0000404E 670A beq +0xC /* 0000405A */
00004050 7000 moveq.l D0, 0x00
00004052 1005 move.b D0, D5
00004054 7230 moveq.l D1, 0x30
00004056 D081 add.l D0, D1
00004058 14C0 move.b [A2]+, D0
label0000405A:
0000405A 7000 moveq.l D0, 0x00
0000405C 1007 move.b D0, D7
0000405E 7230 moveq.l D1, 0x30
00004060 D081 add.l D0, D1
00004062 14C0 move.b [A2]+, D0
00004064 14FC 002E move.b [A2]+, 0x2E /* '.' */
00004068 7000 moveq.l D0, 0x00
0000406A 1006 move.b D0, D6
0000406C 720A moveq.l D1, 0x0A
0000406E 4EAD FB84 jsr [A5 - 0x47C]
00004072 1600 move.b D3, D0
00004074 7000 moveq.l D0, 0x00
00004076 1006 move.b D0, D6
00004078 720A moveq.l D1, 0x0A
0000407A 4EAD FB8A jsr [A5 - 0x476]
0000407E 1A00 move.b D5, D0
00004080 4A03 tst.b D3
00004082 670A beq +0xC /* 0000408E */
00004084 7000 moveq.l D0, 0x00
00004086 1003 move.b D0, D3
00004088 7230 moveq.l D1, 0x30
0000408A D081 add.l D0, D1
0000408C 14C0 move.b [A2]+, D0
label0000408E:
0000408E 7000 moveq.l D0, 0x00
00004090 1005 move.b D0, D5
00004092 7230 moveq.l D1, 0x30
00004094 D081 add.l D0, D1
00004096 14C0 move.b [A2]+, D0
00004098 4A04 tst.b D4
0000409A 6734 beq +0x36 /* 000040D0 */
0000409C 14FC 002E move.b [A2]+, 0x2E /* '.' */
000040A0 7000 moveq.l D0, 0x00
000040A2 1004 move.b D0, D4
000040A4 720A moveq.l D1, 0x0A
000040A6 4EAD FB84 jsr [A5 - 0x47C]
000040AA 1600 move.b D3, D0
000040AC 7000 moveq.l D0, 0x00
000040AE 1004 move.b D0, D4
000040B0 720A moveq.l D1, 0x0A
000040B2 4EAD FB8A jsr [A5 - 0x476]
000040B6 1A00 move.b D5, D0
000040B8 4A03 tst.b D3
000040BA 670A beq +0xC /* 000040C6 */
000040BC 7000 moveq.l D0, 0x00
000040BE 1003 move.b D0, D3
000040C0 7230 moveq.l D1, 0x30
000040C2 D081 add.l D0, D1
000040C4 14C0 move.b [A2]+, D0
label000040C6:
000040C6 7000 moveq.l D0, 0x00
000040C8 1005 move.b D0, D5
000040CA 7230 moveq.l D1, 0x30
000040CC D081 add.l D0, D1
000040CE 14C0 move.b [A2]+, D0
label000040D0:
000040D0 204A movea.l A0, A2
000040D2 91CB sub.l A0, A3
000040D4 5388 subq.l A0, 1
000040D6 2008 move.l D0, A0
000040D8 1680 move.b [A3], D0
000040DA 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
000040DE 4E75 rts
fn000040E0:
000040E0 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000040E4 362F 0014 move.w D3, [A7 + 0x14]
000040E8 266F 0016 movea.l A3, [A7 + 0x16]
000040EC 486D F0E0 pea.l [A5 - 0xF20]
000040F0 3F3C 7D02 move.w -[A7], 0x7D02
000040F4 3003 move.w D0, D3
000040F6 48C0 ext.l D0
000040F8 5280 addq.l D0, 1
000040FA 3F00 move.w -[A7], D0
000040FC 4EAD FF80 jsr [A5 - 0x80]
00004100 7000 moveq.l D0, 0x00
00004102 102D F0E0 move.b D0, [A5 - 0xF20]
00004106 A122 syscall NewHandle, flags=1
00004108 2448 movea.l A2, A0
0000410A 200A move.l D0, A2
0000410C 4A80 tst.l D0
0000410E 6700 0222 beq +0x224 /* 00004332 */
00004112 41ED F0E1 lea.l A0, [A5 - 0xF1F]
00004116 2252 movea.l A1, [A2]
00004118 7000 moveq.l D0, 0x00
0000411A 102D F0E0 move.b D0, [A5 - 0xF20]
0000411E A02E syscall BlockMove/BlockMoveData
00004120 3003 move.w D0, D3
00004122 48C0 ext.l D0
00004124 0C80 0000 0005 cmpi.l D0, 0x5
0000412A 6200 0206 bhi +0x208 /* 00004332 */
0000412E D040 add.w D0, D0
00004130 303B 0006 move.w D0, [PC + D0.w + 0x6]
00004134 4EFB 0002 jmp [PC + D0.w + 0x2]
00004138 000C 006A ori.b A4, 0x6A /* 'j' */
0000413C 00C8 ori.? A0, 0xFFFFFFFFFFFFFFFF
0000413E 00C8 ori.? A0, 0xFFFFFFFFFFFFFFFF
00004140 00C8 ori.? A0, 0xFFFFFFFFFFFFFFFF
00004142 017A 486D bchg [PC + 0x486D /* 000089B1 */], D0
00004146 F0E0 .extension 0x0E0 // unimplemented
00004148 2F2B 005E move.l -[A7], [A3 + 0x5E]
0000414C 4EBA FEB8 jsr [PC - 0x148 /* 00004006 */]
00004150 2F0A move.l -[A7], A2
00004152 42A7 clr.l -[A7]
00004154 486D EED1 pea.l [A5 - 0x112F]
00004158 7000 moveq.l D0, 0x00
0000415A 102D EED0 move.b D0, [A5 - 0x1130]
0000415E 2F00 move.l -[A7], D0
00004160 486D F0E1 pea.l [A5 - 0xF1F]
00004164 7000 moveq.l D0, 0x00
00004166 102D F0E0 move.b D0, [A5 - 0xF20]
0000416A 2F00 move.l -[A7], D0
0000416C A9E0 syscall Munger
0000416E 201F move.l D0, [A7]+
00004170 486D F0E0 pea.l [A5 - 0xF20]
00004174 2F2D F3FE move.l -[A7], [A5 - 0xC02]
00004178 4EBA FE8C jsr [PC - 0x174 /* 00004006 */]
0000417C 2F0A move.l -[A7], A2
0000417E 42A7 clr.l -[A7]
00004180 486D EF11 pea.l [A5 - 0x10EF]
00004184 7000 moveq.l D0, 0x00
00004186 102D EF10 move.b D0, [A5 - 0x10F0]
0000418A 2F00 move.l -[A7], D0
0000418C 486D F0E1 pea.l [A5 - 0xF1F]
00004190 7000 moveq.l D0, 0x00
00004192 102D F0E0 move.b D0, [A5 - 0xF20]
00004196 2F00 move.l -[A7], D0
00004198 A9E0 syscall Munger
0000419A 201F move.l D0, [A7]+
0000419C 504F addq.w A7, 8
0000419E 6000 0192 bra +0x194 /* 00004332 */
000041A2 486D F0E0 pea.l [A5 - 0xF20]
000041A6 2F2B 0062 move.l -[A7], [A3 + 0x62]
000041AA 4EBA FE5A jsr [PC - 0x1A6 /* 00004006 */]
000041AE 2F0A move.l -[A7], A2
000041B0 42A7 clr.l -[A7]
000041B2 486D EEF1 pea.l [A5 - 0x110F]
000041B6 7000 moveq.l D0, 0x00
000041B8 102D EEF0 move.b D0, [A5 - 0x1110]
000041BC 2F00 move.l -[A7], D0
000041BE 486D F0E1 pea.l [A5 - 0xF1F]
000041C2 7000 moveq.l D0, 0x00
000041C4 102D F0E0 move.b D0, [A5 - 0xF20]
000041C8 2F00 move.l -[A7], D0
000041CA A9E0 syscall Munger
000041CC 201F move.l D0, [A7]+
000041CE 486D F0E0 pea.l [A5 - 0xF20]
000041D2 2F2D F3FE move.l -[A7], [A5 - 0xC02]
000041D6 4EBA FE2E jsr [PC - 0x1D2 /* 00004006 */]
000041DA 2F0A move.l -[A7], A2
000041DC 42A7 clr.l -[A7]
000041DE 486D EF11 pea.l [A5 - 0x10EF]
000041E2 7000 moveq.l D0, 0x00
000041E4 102D EF10 move.b D0, [A5 - 0x10F0]
000041E8 2F00 move.l -[A7], D0
000041EA 486D F0E1 pea.l [A5 - 0xF1F]
000041EE 7000 moveq.l D0, 0x00
000041F0 102D F0E0 move.b D0, [A5 - 0xF20]
000041F4 2F00 move.l -[A7], D0
000041F6 A9E0 syscall Munger
000041F8 201F move.l D0, [A7]+
000041FA 504F addq.w A7, 8
000041FC 6000 0134 bra +0x136 /* 00004332 */
00004200 7001 moveq.l D0, 0x01
00004202 B0AD F404 cmp.l D0, [A5 - 0xBFC]
00004206 6E0A bgt +0xC /* 00004212 */
00004208 0CAD 0000 00FF F404 cmpi.l [A5 - 0xBFC], 0xFF
00004210 6F04 ble +0x6 /* 00004216 */
label00004212:
00004212 7002 moveq.l D0, 0x02
00004214 6002 bra +0x4 /* 00004218 */
label00004216:
00004216 7001 moveq.l D0, 0x01
label00004218:
00004218 3600 move.w D3, D0
0000421A 0C43 0001 cmpi.w D3, 0x1
0000421E 6618 bne +0x1A /* 00004238 */
00004220 4AAB 004E tst.l [A3 + 0x4E]
00004224 6608 bne +0xA /* 0000422E */
00004226 70FF moveq.l D0, 0xFFFFFFFF
00004228 B0AB 0052 cmp.l D0, [A3 + 0x52]
0000422C 6704 beq +0x6 /* 00004232 */
label0000422E:
0000422E 7001 moveq.l D0, 0x01
00004230 6002 bra +0x4 /* 00004234 */
label00004232:
00004232 7002 moveq.l D0, 0x02
label00004234:
00004234 3800 move.w D4, D0
00004236 6016 bra +0x18 /* 0000424E */
label00004238:
00004238 4AAB 0056 tst.l [A3 + 0x56]
0000423C 6608 bne +0xA /* 00004246 */
0000423E 70FF moveq.l D0, 0xFFFFFFFF
00004240 B0AB 005A cmp.l D0, [A3 + 0x5A]
00004244 6704 beq +0x6 /* 0000424A */
label00004246:
00004246 7002 moveq.l D0, 0x02
00004248 6002 bra +0x4 /* 0000424C */
label0000424A:
0000424A 7001 moveq.l D0, 0x01
label0000424C:
0000424C 3800 move.w D4, D0
label0000424E:
0000424E 486D F0E0 pea.l [A5 - 0xF20]
00004252 3F3C 7D03 move.w -[A7], 0x7D03
00004256 3F04 move.w -[A7], D4
00004258 4EAD FF80 jsr [A5 - 0x80]
0000425C 594F subq.w A7, 4
0000425E 2F0A move.l -[A7], A2
00004260 42A7 clr.l -[A7]
00004262 486D EF31 pea.l [A5 - 0x10CF]
00004266 7000 moveq.l D0, 0x00
00004268 102D EF30 move.b D0, [A5 - 0x10D0]
0000426C 2F00 move.l -[A7], D0
0000426E 486D F0E1 pea.l [A5 - 0xF1F]
00004272 7000 moveq.l D0, 0x00
00004274 102D F0E0 move.b D0, [A5 - 0xF20]
00004278 2F00 move.l -[A7], D0
0000427A A9E0 syscall Munger
0000427C 201F move.l D0, [A7]+
0000427E 486D F0E0 pea.l [A5 - 0xF20]
00004282 3F3C 7D03 move.w -[A7], 0x7D03
00004286 3F03 move.w -[A7], D3
00004288 4EAD FF80 jsr [A5 - 0x80]
0000428C 594F subq.w A7, 4
0000428E 2F0A move.l -[A7], A2
00004290 42A7 clr.l -[A7]
00004292 486D EF51 pea.l [A5 - 0x10AF]
00004296 7000 moveq.l D0, 0x00
00004298 102D EF50 move.b D0, [A5 - 0x10B0]
0000429C 2F00 move.l -[A7], D0
0000429E 486D F0E1 pea.l [A5 - 0xF1F]
000042A2 7000 moveq.l D0, 0x00
000042A4 102D F0E0 move.b D0, [A5 - 0xF20]
000042A8 2F00 move.l -[A7], D0
000042AA A9E0 syscall Munger
000042AC 201F move.l D0, [A7]+
000042AE 6000 0082 bra +0x84 /* 00004332 */
000042B2 202B 0066 move.l D0, [A3 + 0x66]
000042B6 223C 0000 0400 move.l D1, 0x400
000042BC 4EAD FB84 jsr [A5 - 0x47C]
000042C0 2F00 move.l -[A7], D0
000042C2 486D F0E0 pea.l [A5 - 0xF20]
000042C6 4EAD FF60 jsr [A5 - 0xA0]
000042CA 486D F0E0 pea.l [A5 - 0xF20]
000042CE 4EAD FBD8 jsr [A5 - 0x428]
000042D2 2F0A move.l -[A7], A2
000042D4 42A7 clr.l -[A7]
000042D6 486D EF71 pea.l [A5 - 0x108F]
000042DA 7000 moveq.l D0, 0x00
000042DC 102D EF70 move.b D0, [A5 - 0x1090]
000042E0 2F00 move.l -[A7], D0
000042E2 486D F0E1 pea.l [A5 - 0xF1F]
000042E6 7000 moveq.l D0, 0x00
000042E8 102D F0E0 move.b D0, [A5 - 0xF20]
000042EC 2F00 move.l -[A7], D0
000042EE A9E0 syscall Munger
000042F0 201F move.l D0, [A7]+
000042F2 202D F3FA move.l D0, [A5 - 0xC06]
000042F6 223C 0000 0400 move.l D1, 0x400
000042FC 4EAD FB84 jsr [A5 - 0x47C]
00004300 2F00 move.l -[A7], D0
00004302 486D F0E0 pea.l [A5 - 0xF20]
00004306 4EAD FF60 jsr [A5 - 0xA0]
0000430A 486D F0E0 pea.l [A5 - 0xF20]
0000430E 4EAD FBD8 jsr [A5 - 0x428]
00004312 2F0A move.l -[A7], A2
00004314 42A7 clr.l -[A7]
00004316 486D EF91 pea.l [A5 - 0x106F]
0000431A 7000 moveq.l D0, 0x00
0000431C 102D EF90 move.b D0, [A5 - 0x1070]
00004320 2F00 move.l -[A7], D0
00004322 486D F0E1 pea.l [A5 - 0xF1F]
00004326 7000 moveq.l D0, 0x00
00004328 102D F0E0 move.b D0, [A5 - 0xF20]
0000432C 2F00 move.l -[A7], D0
0000432E A9E0 syscall Munger
00004330 201F move.l D0, [A7]+
label00004332:
00004332 204A movea.l A0, A2
00004334 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00004338 4E75 rts
fn0000433A:
0000433A 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
0000433E 4FEF FFEC lea.l A7, [A7 - 0x14]
00004342 286F 0038 movea.l A4, [A7 + 0x38]
00004346 95CA sub.l A2, A2
00004348 97CB sub.l A3, A3
0000434A 3F3C 0004 move.w -[A7], 0x4
0000434E 4EAD FBA0 jsr [A5 - 0x460]
00004352 4A00 tst.b D0
00004354 544F addq.w A7, 2
00004356 6700 01DC beq +0x1DE /* 00004534 */
0000435A 47ED FD70 lea.l A3, [A5 - 0x290]
0000435E 200B move.l D0, A3
00004360 4A80 tst.l D0
00004362 670E beq +0x10 /* 00004372 */
00004364 2F3C 7D02 000B move.l -[A7], 0x7D02000B
0000436A 4EAD FE98 jsr [A5 - 0x168]
0000436E 2448 movea.l A2, A0
00004370 584F addq.w A7, 4
label00004372:
00004372 200A move.l D0, A2
00004374 4A80 tst.l D0
00004376 6700 01BC beq +0x1BE /* 00004534 */
0000437A 486D EE82 pea.l [A5 - 0x117E]
0000437E 3F3C 7D01 move.w -[A7], 0x7D01
00004382 4EAD FBF0 jsr [A5 - 0x410]
00004386 3A2D EE88 move.w D5, [A5 - 0x1178]
0000438A 48C5 ext.l D5
0000438C 322D EE8E move.w D1, [A5 - 0x1172]
00004390 48C1 ext.l D1
00004392 D285 add.l D1, D5
00004394 3A2D EE8A move.w D5, [A5 - 0x1176]
00004398 48C5 ext.l D5
0000439A DA81 add.l D5, D1
0000439C 2F0A move.l -[A7], A2
0000439E 3F3C 0002 move.w -[A7], 0x2
000043A2 486F 0016 pea.l [A7 + 0x16]
000043A6 486F 0016 pea.l [A7 + 0x16]
000043AA 486F 0020 pea.l [A7 + 0x20]
000043AE A98D syscall GetDialogItem/GetDItem
000043B0 2F2F 000C move.l -[A7], [A7 + 0xC]
000043B4 42A7 clr.l -[A7]
000043B6 486D FA2B pea.l [A5 - 0x5D5]
000043BA 4878 0002 push.l 0x2
000043BE 486C 0001 pea.l [A4 + 0x1]
000043C2 7000 moveq.l D0, 0x00
000043C4 1014 move.b D0, [A4]
000043C6 2F00 move.l -[A7], D0
000043C8 A9E0 syscall Munger
000043CA 201F move.l D0, [A7]+
000043CC 2F0A move.l -[A7], A2
000043CE 3F3C 0003 move.w -[A7], 0x3
000043D2 486F 0012 pea.l [A7 + 0x12]
000043D6 486F 0012 pea.l [A7 + 0x12]
000043DA 486F 001C pea.l [A7 + 0x1C]
000043DE A98D syscall GetDialogItem/GetDItem
000043E0 7800 moveq.l D4, 0x00
000043E2 3604 move.w D3, D4
000043E4 544F addq.w A7, 2
000043E6 6030 bra +0x32 /* 00004418 */
label000043E8:
000043E8 3003 move.w D0, D3
000043EA 48C0 ext.l D0
000043EC 7201 moveq.l D1, 0x01
000043EE E1A9 lsl D1, D0
000043F0 7000 moveq.l D0, 0x00
000043F2 302F 003C move.w D0, [A7 + 0x3C]
000043F6 C081 and.l D0, D1
000043F8 671C beq +0x1E /* 00004416 */
000043FA 2F2F 0034 move.l -[A7], [A7 + 0x34]
000043FE 3F03 move.w -[A7], D3
00004400 4EBA FCDE jsr [PC - 0x322 /* 000040E0 */]
00004404 3004 move.w D0, D4
00004406 5244 addq.w D4, 1
00004408 48C0 ext.l D0
0000440A E588 lsl D0, 2
0000440C 43ED EFB0 lea.l A1, [A5 - 0x1050]
00004410 2388 0800 move.l [A1 + D0], A0
00004414 5C4F addq.w A7, 6
label00004416:
00004416 5243 addq.w D3, 1
label00004418:
00004418 0C43 000B cmpi.w D3, 0xB
0000441C 6DCA blt -0x34 /* 000043E8 */
0000441E 3004 move.w D0, D4
00004420 C1C5 muls.w D0, D5
00004422 322F 000C move.w D1, [A7 + 0xC]
00004426 48C1 ext.l D1
00004428 D280 add.l D1, D0
0000442A 3F41 0010 move.w [A7 + 0x10], D1
0000442E 2F0A move.l -[A7], A2
00004430 3F3C 0003 move.w -[A7], 0x3
00004434 3F2F 0010 move.w -[A7], [A7 + 0x10]
00004438 2F0B move.l -[A7], A3
0000443A 486F 0018 pea.l [A7 + 0x18]
0000443E A98E syscall SetDialogItem/SetDItem
00004440 2F0A move.l -[A7], A2
00004442 3F3C 0001 move.w -[A7], 0x1
00004446 486F 0010 pea.l [A7 + 0x10]
0000444A 486F 000C pea.l [A7 + 0xC]
0000444E 486F 001A pea.l [A7 + 0x1A]
00004452 A98D syscall GetDialogItem/GetDItem
00004454 486F 000C pea.l [A7 + 0xC]
00004458 4267 clr.w -[A7]
0000445A 3004 move.w D0, D4
0000445C C1C5 muls.w D0, D5
0000445E 3F00 move.w -[A7], D0
00004460 A8A8 syscall OffsetRect
00004462 2F2F 0002 move.l -[A7], [A7 + 0x2]
00004466 3F2F 0012 move.w -[A7], [A7 + 0x12]
0000446A 3F2F 0012 move.w -[A7], [A7 + 0x12]
0000446E A959 syscall MoveControl
00004470 2F0A move.l -[A7], A2
00004472 3F3C 0001 move.w -[A7], 0x1
00004476 3F2F 0010 move.w -[A7], [A7 + 0x10]
0000447A 2F2F 000A move.l -[A7], [A7 + 0xA]
0000447E 486F 0018 pea.l [A7 + 0x18]
00004482 A98E syscall SetDialogItem/SetDItem
00004484 302A 0012 move.w D0, [A2 + 0x12]
00004488 48C0 ext.l D0
0000448A 3C2A 0016 move.w D6, [A2 + 0x16]
0000448E 48C6 ext.l D6
00004490 9C80 sub.l D6, D0
00004492 302A 0010 move.w D0, [A2 + 0x10]
00004496 48C0 ext.l D0
00004498 362A 0014 move.w D3, [A2 + 0x14]
0000449C 48C3 ext.l D3
0000449E 9680 sub.l D3, D0
000044A0 3004 move.w D0, D4
000044A2 C1C5 muls.w D0, D5
000044A4 D640 add.w D3, D0
000044A6 2F0A move.l -[A7], A2
000044A8 3F06 move.w -[A7], D6
000044AA 3F03 move.w -[A7], D3
000044AC 4227 clr.b -[A7]
000044AE A91D syscall SizeWindow
000044B0 3F3C 0005 move.w -[A7], 0x5
000044B4 A9C8 syscall SysBeep
000044B6 2F0A move.l -[A7], A2
000044B8 A915 syscall ShowWindow
000044BA 2F0A move.l -[A7], A2
000044BC A922 syscall BeginUpdate
000044BE 2F0A move.l -[A7], A2
000044C0 A981 syscall DrawDialog
000044C2 3F3C 0001 move.w -[A7], 0x1
000044C6 2F0A move.l -[A7], A2
000044C8 4EAD FE90 jsr [A5 - 0x170]
000044CC 2F0A move.l -[A7], A2
000044CE A923 syscall EndUpdate
000044D0 1B7C 0001 E533 move.b [A5 - 0x1ACD], 0x1
000044D6 486D E4A8 pea.l [A5 - 0x1B58]
000044DA A851 syscall SetCursor
000044DC 7600 moveq.l D3, 0x00
000044DE 5C4F addq.w A7, 6
000044E0 6010 bra +0x12 /* 000044F2 */
label000044E2:
000044E2 42A7 clr.l -[A7]
000044E4 486F 0004 pea.l [A7 + 0x4]
000044E8 A991 syscall ModalDialog
000044EA 0C57 0001 cmpi.w [A7], 0x1
000044EE 6602 bne +0x4 /* 000044F2 */
000044F0 7601 moveq.l D3, 0x01
label000044F2:
000044F2 4A43 tst.w D3
000044F4 67EC beq -0x12 /* 000044E2 */
000044F6 2F0A move.l -[A7], A2
000044F8 A983 syscall DisposeDialog
000044FA 7600 moveq.l D3, 0x00
000044FC 6030 bra +0x32 /* 0000452E */
label000044FE:
000044FE 3043 movea.w A0, D3
00004500 2008 move.l D0, A0
00004502 E588 lsl D0, 2
00004504 41ED EFB0 lea.l A0, [A5 - 0x1050]
00004508 4AB0 0800 tst.l [A0 + D0]
0000450C 671E beq +0x20 /* 0000452C */
0000450E 3043 movea.w A0, D3
00004510 2008 move.l D0, A0
00004512 E588 lsl D0, 2
00004514 41ED EFB0 lea.l A0, [A5 - 0x1050]
00004518 2070 0800 movea.l A0, [A0 + D0]
0000451C A023 syscall DisposHandle/DisposeHandle
0000451E 3043 movea.w A0, D3
00004520 2008 move.l D0, A0
00004522 E588 lsl D0, 2
00004524 41ED EFB0 lea.l A0, [A5 - 0x1050]
00004528 42B0 0800 clr.l [A0 + D0]
label0000452C:
0000452C 5243 addq.w D3, 1
label0000452E:
0000452E 0C43 000B cmpi.w D3, 0xB
00004532 6DCA blt -0x34 /* 000044FE */
label00004534:
00004534 4FEF 0014 lea.l A7, [A7 + 0x14]
00004538 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
0000453C 4E75 rts
fn0000453E:
0000453E 2F05 move.l -[A7], D5
00004540 206F 0008 movea.l A0, [A7 + 0x8]
00004544 7001 moveq.l D0, 0x01
00004546 B0AD F404 cmp.l D0, [A5 - 0xBFC]
0000454A 6E16 bgt +0x18 /* 00004562 */
0000454C 0CAD 0000 00FF F404 cmpi.l [A5 - 0xBFC], 0xFF
00004554 6E0C bgt +0xE /* 00004562 */
00004556 2A28 004E move.l D5, [A0 + 0x4E]
0000455A 2228 0052 move.l D1, [A0 + 0x52]
0000455E 7400 moveq.l D2, 0x00
00004560 6022 bra +0x24 /* 00004584 */
label00004562:
00004562 0CAD 0000 0100 F404 cmpi.l [A5 - 0xBFC], 0x100
0000456A 6D16 blt +0x18 /* 00004582 */
0000456C 0CAD 0000 01FF F404 cmpi.l [A5 - 0xBFC], 0x1FF
00004574 6E0C bgt +0xE /* 00004582 */
00004576 2A28 0056 move.l D5, [A0 + 0x56]
0000457A 2228 005A move.l D1, [A0 + 0x5A]
0000457E 7400 moveq.l D2, 0x00
00004580 6002 bra +0x4 /* 00004584 */
label00004582:
00004582 7401 moveq.l D2, 0x01
label00004584:
00004584 4A02 tst.b D2
00004586 662A bne +0x2C /* 000045B2 */
00004588 4A85 tst.l D5
0000458A 660A bne +0xC /* 00004596 */
0000458C 70FF moveq.l D0, 0xFFFFFFFF
0000458E B280 cmp.l D1, D0
00004590 6604 bne +0x6 /* 00004596 */
00004592 7204 moveq.l D1, 0x04
00004594 601E bra +0x20 /* 000045B4 */
label00004596:
00004596 BAAD F404 cmp.l D5, [A5 - 0xBFC]
0000459A 6F04 ble +0x6 /* 000045A0 */
0000459C 7208 moveq.l D1, 0x08
0000459E 6014 bra +0x16 /* 000045B4 */
label000045A0:
000045A0 4A81 tst.l D1
000045A2 670A beq +0xC /* 000045AE */
000045A4 B2AD F404 cmp.l D1, [A5 - 0xBFC]
000045A8 6C04 bge +0x6 /* 000045AE */
000045AA 7210 moveq.l D1, 0x10
000045AC 6006 bra +0x8 /* 000045B4 */
label000045AE:
000045AE 7200 moveq.l D1, 0x00
000045B0 6002 bra +0x4 /* 000045B4 */
label000045B2:
000045B2 7200 moveq.l D1, 0x00
label000045B4:
000045B4 3001 move.w D0, D1
000045B6 2A1F move.l D5, [A7]+
000045B8 4E75 rts
fn000045BA:
000045BA 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000045BE 266F 0014 movea.l A3, [A7 + 0x14]
000045C2 4A6D F3F2 tst.w [A5 - 0xC0E]
000045C6 6706 beq +0x8 /* 000045CE */
000045C8 7000 moveq.l D0, 0x00
000045CA 6000 0116 bra +0x118 /* 000046E2 */
label000045CE:
000045CE 2053 movea.l A0, [A3]
000045D0 4A10 tst.b [A0]
000045D2 6606 bne +0x8 /* 000045DA */
000045D4 7000 moveq.l D0, 0x00
000045D6 6000 010A bra +0x10C /* 000046E2 */
label000045DA:
000045DA 4EBA F910 jsr [PC - 0x6F0 /* 00003EEC */]
000045DE 204B movea.l A0, A3
000045E0 A069 syscall HGetState
000045E2 1800 move.b D4, D0
000045E4 204B movea.l A0, A3
000045E6 A029 syscall HLock
000045E8 2453 movea.l A2, [A3]
000045EA 7600 moveq.l D3, 0x00
000045EC 202A 005E move.l D0, [A2 + 0x5E]
000045F0 B0AD F3FE cmp.l D0, [A5 - 0xC02]
000045F4 6304 bls +0x6 /* 000045FA */
000045F6 0043 0001 ori.w D3, 0x1
label000045FA:
000045FA 4AAA 0062 tst.l [A2 + 0x62]
000045FE 670E beq +0x10 /* 0000460E */
00004600 202A 0062 move.l D0, [A2 + 0x62]
00004604 B0AD F3FE cmp.l D0, [A5 - 0xC02]
00004608 6404 bcc +0x6 /* 0000460E */
0000460A 0043 0002 ori.w D3, 0x2
label0000460E:
0000460E 2F0A move.l -[A7], A2
00004610 4EBA FF2C jsr [PC - 0xD4 /* 0000453E */]
00004614 8640 or.w D3, D0
00004616 202A 0066 move.l D0, [A2 + 0x66]
0000461A B0AD F3FA cmp.l D0, [A5 - 0xC06]
0000461E 584F addq.w A7, 4
00004620 6F04 ble +0x6 /* 00004626 */
00004622 0043 0020 ori.w D3, 0x20 /* ' ' */
label00004626:
00004626 0C6A FFFF 0046 cmpi.w [A2 + 0x46], 0xFFFF
0000462C 660A bne +0xC /* 00004638 */
0000462E 4A2D F3F9 tst.b [A5 - 0xC07]
00004632 6704 beq +0x6 /* 00004638 */
00004634 0043 0040 ori.w D3, 0x40 /* '@' */
label00004638:
00004638 0C6A 0001 0046 cmpi.w [A2 + 0x46], 0x1
0000463E 660A bne +0xC /* 0000464A */
00004640 4A2D F3F9 tst.b [A5 - 0xC07]
00004644 6604 bne +0x6 /* 0000464A */
00004646 0043 0080 ori.w D3, 0x80
label0000464A:
0000464A 4A2D F403 tst.b [A5 - 0xBFD]
0000464E 6726 beq +0x28 /* 00004676 */
00004650 0C6A FFFF 004A cmpi.w [A2 + 0x4A], 0xFFFF
00004656 660A bne +0xC /* 00004662 */
00004658 4A2D F3F8 tst.b [A5 - 0xC08]
0000465C 6704 beq +0x6 /* 00004662 */
0000465E 0043 0100 ori.w D3, 0x100
label00004662:
00004662 0C6A 0001 004A cmpi.w [A2 + 0x4A], 0x1
00004668 6630 bne +0x32 /* 0000469A */
0000466A 4A2D F3F8 tst.b [A5 - 0xC08]
0000466E 662A bne +0x2C /* 0000469A */
00004670 0043 0200 ori.w D3, 0x200
00004674 6024 bra +0x26 /* 0000469A */
label00004676:
00004676 0C6A FFFF 0048 cmpi.w [A2 + 0x48], 0xFFFF
0000467C 660A bne +0xC /* 00004688 */
0000467E 4A2D F3F8 tst.b [A5 - 0xC08]
00004682 6704 beq +0x6 /* 00004688 */
00004684 0043 0100 ori.w D3, 0x100
label00004688:
00004688 0C6A 0001 0048 cmpi.w [A2 + 0x48], 0x1
0000468E 660A bne +0xC /* 0000469A */
00004690 4A2D F3F8 tst.b [A5 - 0xC08]
00004694 6604 bne +0x6 /* 0000469A */
00004696 0043 0200 ori.w D3, 0x200
label0000469A:
0000469A 0C6A FFFF 004C cmpi.w [A2 + 0x4C], 0xFFFF
000046A0 660A bne +0xC /* 000046AC */
000046A2 4A2D F3F7 tst.b [A5 - 0xC09]
000046A6 6704 beq +0x6 /* 000046AC */
000046A8 0043 0400 ori.w D3, 0x400
label000046AC:
000046AC 0C6A 0001 004C cmpi.w [A2 + 0x4C], 0x1
000046B2 660A bne +0xC /* 000046BE */
000046B4 4A2D F3F7 tst.b [A5 - 0xC09]
000046B8 6604 bne +0x6 /* 000046BE */
000046BA 0043 0800 ori.w D3, 0x800
label000046BE:
000046BE 4A43 tst.w D3
000046C0 6710 beq +0x12 /* 000046D2 */
000046C2 3F03 move.w -[A7], D3
000046C4 2F2F 001A move.l -[A7], [A7 + 0x1A]
000046C8 2F0A move.l -[A7], A2
000046CA 4EBA FC6E jsr [PC - 0x392 /* 0000433A */]
000046CE 4FEF 000A lea.l A7, [A7 + 0xA]
label000046D2:
000046D2 204B movea.l A0, A3
000046D4 1004 move.b D0, D4
000046D6 A06A syscall HSetState
000046D8 4A43 tst.w D3
000046DA 6604 bne +0x6 /* 000046E0 */
000046DC 7000 moveq.l D0, 0x00
000046DE 6002 bra +0x4 /* 000046E2 */
label000046E0:
000046E0 70FF moveq.l D0, 0xFFFFFFFF
label000046E2:
000046E2 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000046E6 4E75 rts
fn000046E8:
000046E8 48E7 1F20 movem.l -[A7], D3,D4,D5,D6,D7,A2
000046EC 4FEF FF42 lea.l A7, [A7 - 0xBE]
000046F0 426D F3F4 clr.w [A5 - 0xC0C]
000046F4 426D F3F2 clr.w [A5 - 0xC0E]
000046F8 7600 moveq.l D3, 0x00
000046FA 600A bra +0xC /* 00004706 */
label000046FC:
000046FC 41ED EFE0 lea.l A0, [A5 - 0x1020]
00004700 4230 3000 clr.b [A0 + D3.w]
00004704 5243 addq.w D3, 1
label00004706:
00004706 0C43 0100 cmpi.w D3, 0x100
0000470A 6DF0 blt -0xE /* 000046FC */
0000470C 41ED EFE0 lea.l A0, [A5 - 0x1020]
00004710 2B48 EFDC move.l [A5 - 0x1024], A0
00004714 7800 moveq.l D4, 0x00
00004716 4A2D E54D tst.b [A5 - 0x1AB3]
0000471A 6700 011A beq +0x11C /* 00004836 */
0000471E 554F subq.w A7, 2
00004720 2F3C 6370 7574 move.l -[A7], 0x63707574 /* 'cput' */
00004726 486D F404 pea.l [A5 - 0xBFC]
0000472A 4EAD FEB0 jsr [A5 - 0x150]
0000472E 301F move.w D0, [A7]+
00004730 3600 move.w D3, D0
00004732 4A43 tst.w D3
00004734 6616 bne +0x18 /* 0000474C */
00004736 4AAD F404 tst.l [A5 - 0xBFC]
0000473A 6D24 blt +0x26 /* 00004760 */
0000473C 0CAD 0000 0101 F404 cmpi.l [A5 - 0xBFC], 0x101
00004744 641A bcc +0x1C /* 00004760 */
00004746 52AD F404 addq.l [A5 - 0xBFC], 1
0000474A 6014 bra +0x16 /* 00004760 */
label0000474C:
0000474C 554F subq.w A7, 2
0000474E 2F3C 7072 6F63 move.l -[A7], 0x70726F63 /* 'proc' */
00004754 486D F404 pea.l [A5 - 0xBFC]
00004758 4EAD FEB0 jsr [A5 - 0x150]
0000475C 301F move.w D0, [A7]+
0000475E 3600 move.w D3, D0
label00004760:
00004760 4A43 tst.w D3
00004762 6704 beq +0x6 /* 00004768 */
00004764 42AD F404 clr.l [A5 - 0xBFC]
label00004768:
00004768 4EBA C2E2 jsr [PC - 0x3D1E /* 00000A4C */]
0000476C 1B40 F403 move.b [A5 - 0xBFD], D0
00004770 554F subq.w A7, 2
00004772 2F3C 7379 7376 move.l -[A7], 0x73797376 /* 'sysv' */
00004778 486F 00C0 pea.l [A7 + 0xC0]
0000477C 4EAD FEB0 jsr [A5 - 0x150]
00004780 301F move.w D0, [A7]+
00004782 3600 move.w D3, D0
00004784 4A43 tst.w D3
00004786 6704 beq +0x6 /* 0000478C */
00004788 7000 moveq.l D0, 0x00
0000478A 6004 bra +0x6 /* 00004790 */
label0000478C:
0000478C 202F 00BA move.l D0, [A7 + 0xBA]
label00004790:
00004790 3F40 00AE move.w [A7 + 0xAE], D0
00004794 554F subq.w A7, 2
00004796 2F3C 7261 6D20 move.l -[A7], 0x72616D20 /* 'ram ' */
0000479C 486F 00C0 pea.l [A7 + 0xC0]
000047A0 4EAD FEB0 jsr [A5 - 0x150]
000047A4 301F move.w D0, [A7]+
000047A6 3600 move.w D3, D0
000047A8 4A43 tst.w D3
000047AA 6704 beq +0x6 /* 000047B0 */
000047AC 7000 moveq.l D0, 0x00
000047AE 6004 bra +0x6 /* 000047B4 */
label000047B0:
000047B0 202F 00BA move.l D0, [A7 + 0xBA]
label000047B4:
000047B4 2B40 F3FA move.l [A5 - 0xC06], D0
000047B8 554F subq.w A7, 2
000047BA 2F3C 7164 2020 move.l -[A7], 0x71642020 /* 'qd ' */
000047C0 486F 00C0 pea.l [A7 + 0xC0]
000047C4 4EAD FEB0 jsr [A5 - 0x150]
000047C8 301F move.w D0, [A7]+
000047CA 3600 move.w D3, D0
000047CC 4A43 tst.w D3
000047CE 660A bne +0xC /* 000047DA */
000047D0 0CAF 0000 0100 00BA cmpi.l [A7 + 0xBA], 0x100
000047D8 6C04 bge +0x6 /* 000047DE */
label000047DA:
000047DA 7000 moveq.l D0, 0x00
000047DC 6002 bra +0x4 /* 000047E0 */
label000047DE:
000047DE 7001 moveq.l D0, 0x01
label000047E0:
000047E0 1B40 F3F9 move.b [A5 - 0xC07], D0
000047E4 554F subq.w A7, 2
000047E6 2F3C 6670 7520 move.l -[A7], 0x66707520 /* 'fpu ' */
000047EC 486F 00C0 pea.l [A7 + 0xC0]
000047F0 4EAD FEB0 jsr [A5 - 0x150]
000047F4 301F move.w D0, [A7]+
000047F6 3600 move.w D3, D0
000047F8 4A43 tst.w D3
000047FA 6606 bne +0x8 /* 00004802 */
000047FC 4AAF 00BA tst.l [A7 + 0xBA]
00004800 6604 bne +0x6 /* 00004806 */
label00004802:
00004802 7000 moveq.l D0, 0x00
00004804 6002 bra +0x4 /* 00004808 */
label00004806:
00004806 7001 moveq.l D0, 0x01
label00004808:
00004808 1B40 F3F8 move.b [A5 - 0xC08], D0
0000480C 554F subq.w A7, 2
0000480E 2F3C 736C 7463 move.l -[A7], 0x736C7463 /* 'sltc' */
00004814 486F 00C0 pea.l [A7 + 0xC0]
00004818 4EAD FEB0 jsr [A5 - 0x150]
0000481C 301F move.w D0, [A7]+
0000481E 3600 move.w D3, D0
00004820 4A43 tst.w D3
00004822 6606 bne +0x8 /* 0000482A */
00004824 4AAF 00BA tst.l [A7 + 0xBA]
00004828 6604 bne +0x6 /* 0000482E */
label0000482A:
0000482A 7000 moveq.l D0, 0x00
0000482C 6002 bra +0x4 /* 00004830 */
label0000482E:
0000482E 7001 moveq.l D0, 0x01
label00004830:
00004830 1B40 F3F7 move.b [A5 - 0xC09], D0
00004834 606C bra +0x6E /* 000048A2 */
label00004836:
00004836 426F 00AE clr.w [A7 + 0xAE]
0000483A 554F subq.w A7, 2
0000483C 3F3C 0001 move.w -[A7], 0x1
00004840 486F 00AE pea.l [A7 + 0xAE]
00004844 4EAD FEA8 jsr [A5 - 0x158]
00004848 301F move.w D0, [A7]+
0000484A 7801 moveq.l D4, 0x01
0000484C 306F 00B0 movea.w A0, [A7 + 0xB0]
00004850 2B48 F404 move.l [A5 - 0xBFC], A0
00004854 3F3C A88F move.w -[A7], 0xA88F
00004858 4EAD FBD0 jsr [A5 - 0x430]
0000485C 4A00 tst.b D0
0000485E 544F addq.w A7, 2
00004860 660C bne +0xE /* 0000486E */
00004862 594F subq.w A7, 4
00004864 2EB8 0108 move.l [A7], [0x00000108 /* MemTop */]
00004868 205F movea.l A0, [A7]+
0000486A 2008 move.l D0, A0
0000486C 600C bra +0xE /* 0000487A */
label0000486E:
0000486E 594F subq.w A7, 4
00004870 3F3C 0016 move.w -[A7], 0x16
00004874 A88F syscall OSDispatch
00004876 205F movea.l A0, [A7]+
00004878 2008 move.l D0, A0
label0000487A:
0000487A 2B40 F3FA move.l [A5 - 0xC06], D0
0000487E 4A2F 00B3 tst.b [A7 + 0xB3]
00004882 6604 bne +0x6 /* 00004888 */
00004884 7000 moveq.l D0, 0x00
00004886 6002 bra +0x4 /* 0000488A */
label00004888:
00004888 7001 moveq.l D0, 0x01
label0000488A:
0000488A 1B40 F3F9 move.b [A5 - 0xC07], D0
0000488E 4A2F 00B2 tst.b [A7 + 0xB2]
00004892 6604 bne +0x6 /* 00004898 */
00004894 7000 moveq.l D0, 0x00
00004896 6002 bra +0x4 /* 0000489A */
label00004898:
00004898 7001 moveq.l D0, 0x01
label0000489A:
0000489A 1B40 F3F8 move.b [A5 - 0xC08], D0
0000489E 422D F3F7 clr.b [A5 - 0xC09]
label000048A2:
000048A2 3C2F 00AE move.w D6, [A7 + 0xAE]
000048A6 48C6 ext.l D6
000048A8 2606 move.l D3, D6
000048AA 0283 0000 FF00 andi.l D3, 0xFF00
000048B0 E083 asr D3, 8
000048B2 3003 move.w D0, D3
000048B4 48C0 ext.l D0
000048B6 720A moveq.l D1, 0x0A
000048B8 4EAD FB84 jsr [A5 - 0x47C]
000048BC 720A moveq.l D1, 0x0A
000048BE 4EAD FB78 jsr [A5 - 0x488]
000048C2 3A00 move.w D5, D0
000048C4 9645 sub.w D3, D5
000048C6 2E06 move.l D7, D6
000048C8 0287 0000 00F0 andi.l D7, 0xF0
000048CE E887 asr D7, 4
000048D0 700F moveq.l D0, 0x0F
000048D2 C086 and.l D0, D6
000048D4 3F40 0024 move.w [A7 + 0x24], D0
000048D8 3043 movea.w A0, D3
000048DA 2008 move.l D0, A0
000048DC 7210 moveq.l D1, 0x10
000048DE E3A8 lsl D0, D1
000048E0 3045 movea.w A0, D5
000048E2 2208 move.l D1, A0
000048E4 7418 moveq.l D2, 0x18
000048E6 E5A9 lsl D1, D2
000048E8 D280 add.l D1, D0
000048EA 3007 move.w D0, D7
000048EC 48C0 ext.l D0
000048EE E188 lsl D0, 8
000048F0 D081 add.l D0, D1
000048F2 322F 0024 move.w D1, [A7 + 0x24]
000048F6 48C1 ext.l D1
000048F8 D280 add.l D1, D0
000048FA 2B41 F3FE move.l [A5 - 0xC02], D1
000048FE 4A2D E54D tst.b [A5 - 0x1AB3]
00004902 6744 beq +0x46 /* 00004948 */
00004904 554F subq.w A7, 2
00004906 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
0000490C 486F 00C0 pea.l [A7 + 0xC0]
00004910 4EAD FEB0 jsr [A5 - 0x150]
00004914 301F move.w D0, [A7]+
00004916 3600 move.w D3, D0
00004918 4A43 tst.w D3
0000491A 6628 bne +0x2A /* 00004944 */
0000491C 7001 moveq.l D0, 0x01
0000491E C0AF 00BA and.l D0, [A7 + 0xBA]
00004922 6720 beq +0x22 /* 00004944 */
00004924 554F subq.w A7, 2
00004926 3F3C 8000 move.w -[A7], 0x8000
0000492A 2F3C 6D61 6373 move.l -[A7], 0x6D616373 /* 'macs' */
00004930 4227 clr.b -[A7]
00004932 486D F3EE pea.l [A5 - 0xC12]
00004936 486D F3E8 pea.l [A5 - 0xC18]
0000493A 4EAD FFE8 jsr [A5 - 0x18]
0000493E 301F move.w D0, [A7]+
00004940 3600 move.w D3, D0
00004942 6006 bra +0x8 /* 0000494A */
label00004944:
00004944 76FF moveq.l D3, 0xFFFFFFFF
00004946 6002 bra +0x4 /* 0000494A */
label00004948:
00004948 76FF moveq.l D3, 0xFFFFFFFF
label0000494A:
0000494A 4A43 tst.w D3
0000494C 6732 beq +0x34 /* 00004980 */
0000494E 4A04 tst.b D4
00004950 6614 bne +0x16 /* 00004966 */
00004952 426F 00AE clr.w [A7 + 0xAE]
00004956 554F subq.w A7, 2
00004958 3F3C 0001 move.w -[A7], 0x1
0000495C 486F 00AE pea.l [A7 + 0xAE]
00004960 4EAD FEA8 jsr [A5 - 0x158]
00004964 301F move.w D0, [A7]+
label00004966:
00004966 554F subq.w A7, 2
00004968 3F2F 00BA move.w -[A7], [A7 + 0xBA]
0000496C 486D F3EE pea.l [A5 - 0xC12]
00004970 486D F3E8 pea.l [A5 - 0xC18]
00004974 486F 000C pea.l [A7 + 0xC]
00004978 4EAD FFD0 jsr [A5 - 0x30]
0000497C 301F move.w D0, [A7]+
0000497E 3600 move.w D3, D0
label00004980:
00004980 4A43 tst.w D3
00004982 670A beq +0xC /* 0000498E */
00004984 42AD F3E8 clr.l [A5 - 0xC18]
00004988 7000 moveq.l D0, 0x00
0000498A 3B40 F3EE move.w [A5 - 0xC12], D0
label0000498E:
0000498E 4A2D E54D tst.b [A5 - 0x1AB3]
00004992 6744 beq +0x46 /* 000049D8 */
00004994 554F subq.w A7, 2
00004996 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
0000499C 486F 00C0 pea.l [A7 + 0xC0]
000049A0 4EAD FEB0 jsr [A5 - 0x150]
000049A4 301F move.w D0, [A7]+
000049A6 3600 move.w D3, D0
000049A8 4A43 tst.w D3
000049AA 6628 bne +0x2A /* 000049D4 */
000049AC 7001 moveq.l D0, 0x01
000049AE C0AF 00BA and.l D0, [A7 + 0xBA]
000049B2 6720 beq +0x22 /* 000049D4 */
000049B4 554F subq.w A7, 2
000049B6 3F2F 00DC move.w -[A7], [A7 + 0xDC]
000049BA 2F3C 6D61 6373 move.l -[A7], 0x6D616373 /* 'macs' */
000049C0 4227 clr.b -[A7]
000049C2 486F 0038 pea.l [A7 + 0x38]
000049C6 486F 0038 pea.l [A7 + 0x38]
000049CA 4EAD FFE8 jsr [A5 - 0x18]
000049CE 301F move.w D0, [A7]+
000049D0 3600 move.w D3, D0
000049D2 6006 bra +0x8 /* 000049DA */
label000049D4:
000049D4 76FF moveq.l D3, 0xFFFFFFFF
000049D6 6002 bra +0x4 /* 000049DA */
label000049D8:
000049D8 76FF moveq.l D3, 0xFFFFFFFF
label000049DA:
000049DA 4A43 tst.w D3
000049DC 672C beq +0x2E /* 00004A0A */
000049DE 42AF 0042 clr.l [A7 + 0x42]
000049E2 3F6F 00DA 0046 move.w [A7 + 0x46], [A7 + 0xDA]
000049E8 426F 004C clr.w [A7 + 0x4C]
000049EC 41EF 0030 lea.l A0, [A7 + 0x30]
000049F0 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
000049F2 3600 move.w D3, D0
000049F4 4A43 tst.w D3
000049F6 6612 bne +0x14 /* 00004A0A */
000049F8 4AAF 008A tst.l [A7 + 0x8A]
000049FC 670C beq +0xE /* 00004A0A */
000049FE 3F6F 0046 002E move.w [A7 + 0x2E], [A7 + 0x46]
00004A04 2F6F 008A 002A move.l [A7 + 0x2A], [A7 + 0x8A]
label00004A0A:
00004A0A 4A43 tst.w D3
00004A0C 6600 00A4 bne +0xA6 /* 00004AB2 */
00004A10 4A6F 002E tst.w [A7 + 0x2E]
00004A14 6700 009C beq +0x9E /* 00004AB2 */
00004A18 4AAF 002A tst.l [A7 + 0x2A]
00004A1C 6700 0094 beq +0x96 /* 00004AB2 */
00004A20 302F 002E move.w D0, [A7 + 0x2E]
00004A24 B06D F3EE cmp.w D0, [A5 - 0xC12]
00004A28 6612 bne +0x14 /* 00004A3C */
00004A2A 202F 002A move.l D0, [A7 + 0x2A]
00004A2E B0AD F3E8 cmp.l D0, [A5 - 0xC18]
00004A32 6608 bne +0xA /* 00004A3C */
00004A34 2B6D F3FE F3E0 move.l [A5 - 0xC20], [A5 - 0xC02]
00004A3A 607A bra +0x7C /* 00004AB6 */
label00004A3C:
00004A3C 2F3C 7D03 0003 move.l -[A7], 0x7D030003
00004A42 486F 0008 pea.l [A7 + 0x8]
00004A46 4EBA BDF8 jsr [PC - 0x4208 /* 00000840 */]
00004A4A 486F 002E pea.l [A7 + 0x2E]
00004A4E 486F 0010 pea.l [A7 + 0x10]
00004A52 2F2F 003A move.l -[A7], [A7 + 0x3A]
00004A56 3F2F 0042 move.w -[A7], [A7 + 0x42]
00004A5A 4EBA DE1E jsr [PC - 0x21E2 /* 0000287A */]
00004A5E 3600 move.w D3, D0
00004A60 4A43 tst.w D3
00004A62 4FEF 0016 lea.l A7, [A7 + 0x16]
00004A66 6644 bne +0x46 /* 00004AAC */
00004A68 7600 moveq.l D3, 0x00
00004A6A 362F 0026 move.w D3, [A7 + 0x26]
00004A6E E04B lsr D3.w, 8
00004A70 2003 move.l D0, D3
00004A72 720A moveq.l D1, 0x0A
00004A74 4EAD FB7E jsr [A5 - 0x482]
00004A78 720A moveq.l D1, 0x0A
00004A7A 4EAD FB78 jsr [A5 - 0x488]
00004A7E 2800 move.l D4, D0
00004A80 9684 sub.l D3, D4
00004A82 7A00 moveq.l D5, 0x00
00004A84 1A2F 0027 move.b D5, [A7 + 0x27]
00004A88 E80D lsr D5.b, 4
00004A8A 7C0F moveq.l D6, 0x0F
00004A8C CC2F 0027 and.b D6, [A7 + 0x27]
00004A90 2003 move.l D0, D3
00004A92 7210 moveq.l D1, 0x10
00004A94 E3A8 lsl D0, D1
00004A96 2204 move.l D1, D4
00004A98 7418 moveq.l D2, 0x18
00004A9A E5A9 lsl D1, D2
00004A9C D280 add.l D1, D0
00004A9E 2005 move.l D0, D5
00004AA0 E188 lsl D0, 8
00004AA2 D081 add.l D0, D1
00004AA4 D086 add.l D0, D6
00004AA6 2B40 F3E0 move.l [A5 - 0xC20], D0
00004AAA 600A bra +0xC /* 00004AB6 */
label00004AAC:
00004AAC 42AD F3E0 clr.l [A5 - 0xC20]
00004AB0 6004 bra +0x6 /* 00004AB6 */
label00004AB2:
00004AB2 42AD F3E0 clr.l [A5 - 0xC20]
label00004AB6:
00004AB6 2F3C 7D03 0001 move.l -[A7], 0x7D030001
00004ABC 486D F2E0 pea.l [A5 - 0xD20]
00004AC0 4EBA BD7E jsr [PC - 0x4282 /* 00000840 */]
00004AC4 2F3C 7D03 0002 move.l -[A7], 0x7D030002
00004ACA 486D F1E0 pea.l [A5 - 0xE20]
00004ACE 4EBA BD70 jsr [PC - 0x4290 /* 00000840 */]
00004AD2 4A2D F3F9 tst.b [A5 - 0xC07]
00004AD6 4FEF 0010 lea.l A7, [A7 + 0x10]
00004ADA 6752 beq +0x54 /* 00004B2E */
00004ADC 422D F3F9 clr.b [A5 - 0xC07]
00004AE0 594F subq.w A7, 4
00004AE2 AA29 syscall GetDeviceList
00004AE4 205F movea.l A0, [A7]+
00004AE6 2448 movea.l A2, A0
00004AE8 603E bra +0x40 /* 00004B28 */
label00004AEA:
00004AEA 554F subq.w A7, 2
00004AEC 2F0A move.l -[A7], A2
00004AEE 3F3C 000D move.w -[A7], 0xD /* '\r' */
00004AF2 AA2C syscall TestDeviceAttribute
00004AF4 101F move.b D0, [A7]+
00004AF6 6726 beq +0x28 /* 00004B1E */
00004AF8 554F subq.w A7, 2
00004AFA 2F0A move.l -[A7], A2
00004AFC 3F3C 000F move.w -[A7], 0xF
00004B00 AA2C syscall TestDeviceAttribute
00004B02 101F move.b D0, [A7]+
00004B04 6718 beq +0x1A /* 00004B1E */
00004B06 2052 movea.l A0, [A2]
00004B08 2068 0016 movea.l A0, [A0 + 0x16]
00004B0C 2050 movea.l A0, [A0]
00004B0E 0C68 0001 0020 cmpi.w [A0 + 0x20], 0x1
00004B14 6F08 ble +0xA /* 00004B1E */
00004B16 1B7C 0001 F3F9 move.b [A5 - 0xC07], 0x1
00004B1C 6010 bra +0x12 /* 00004B2E */
label00004B1E:
00004B1E 594F subq.w A7, 4
00004B20 2F0A move.l -[A7], A2
00004B22 AA2B syscall GetNextDevice
00004B24 205F movea.l A0, [A7]+
00004B26 2448 movea.l A2, A0
label00004B28:
00004B28 200A move.l D0, A2
00004B2A 4A80 tst.l D0
00004B2C 66BC bne -0x42 /* 00004AEA */
label00004B2E:
00004B2E 4FEF 00BE lea.l A7, [A7 + 0xBE]
00004B32 4CDF 04F8 movem.l D3,D4,D5,D6,D7,A2, [A7]+
00004B36 4E75 rts
fn00004B38:
00004B38 48E7 1E30 movem.l -[A7], D3,D4,D5,D6,A2,A3
00004B3C 4FEF FF00 lea.l A7, [A7 - 0x100]
00004B40 7C00 moveq.l D6, 0x00
00004B42 7A00 moveq.l D5, 0x00
label00004B44:
00004B44 5246 addq.w D6, 1
00004B46 3F06 move.w -[A7], D6
00004B48 3F2F 0122 move.w -[A7], [A7 + 0x122]
00004B4C 486F 0004 pea.l [A7 + 0x4]
00004B50 4EBA BCEE jsr [PC - 0x4312 /* 00000840 */]
00004B54 4A2F 0008 tst.b [A7 + 0x8]
00004B58 504F addq.w A7, 8
00004B5A 673A beq +0x3C /* 00004B96 */
00004B5C 266F 011C movea.l A3, [A7 + 0x11C]
00004B60 45D7 lea.l A2, [A7]
00004B62 181A move.b D4, [A2]+
00004B64 6004 bra +0x6 /* 00004B6A */
label00004B66:
00004B66 528B addq.l A3, 1
00004B68 528A addq.l A2, 1
label00004B6A:
00004B6A 1613 move.b D3, [A3]
00004B6C 4A03 tst.b D3
00004B6E 6712 beq +0x14 /* 00004B82 */
00004B70 0C03 003A cmpi.b D3, 0x3A /* ':' */
00004B74 670C beq +0xE /* 00004B82 */
00004B76 1004 move.b D0, D4
00004B78 5304 subq.b D4, 1
00004B7A 4A00 tst.b D0
00004B7C 6704 beq +0x6 /* 00004B82 */
00004B7E B612 cmp.b D3, [A2]
00004B80 67E4 beq -0x1A /* 00004B66 */
label00004B82:
00004B82 4A03 tst.b D3
00004B84 6706 beq +0x8 /* 00004B8C */
00004B86 0C03 003A cmpi.b D3, 0x3A /* ':' */
00004B8A 6606 bne +0x8 /* 00004B92 */
label00004B8C:
00004B8C 4A04 tst.b D4
00004B8E 6602 bne +0x4 /* 00004B92 */
00004B90 7A01 moveq.l D5, 0x01
label00004B92:
00004B92 4A05 tst.b D5
00004B94 67AE beq -0x50 /* 00004B44 */
label00004B96:
00004B96 4A05 tst.b D5
00004B98 6604 bne +0x6 /* 00004B9E */
00004B9A 7000 moveq.l D0, 0x00
00004B9C 6004 bra +0x6 /* 00004BA2 */
label00004B9E:
00004B9E 3006 move.w D0, D6
00004BA0 48C0 ext.l D0
label00004BA2:
00004BA2 4FEF 0100 lea.l A7, [A7 + 0x100]
00004BA6 4CDF 0C78 movem.l D3,D4,D5,D6,A2,A3, [A7]+
00004BAA 4E75 rts
fn00004BAC:
00004BAC 48E7 0810 movem.l -[A7], D4,A3
00004BB0 266F 000C movea.l A3, [A7 + 0xC]
00004BB4 7800 moveq.l D4, 0x00
00004BB6 6002 bra +0x4 /* 00004BBA */
label00004BB8:
00004BB8 528B addq.l A3, 1
label00004BBA:
00004BBA 1413 move.b D2, [A3]
00004BBC 0C02 002C cmpi.b D2, 0x2C /* ',' */
00004BC0 67F6 beq -0x8 /* 00004BB8 */
00004BC2 7000 moveq.l D0, 0x00
00004BC4 1002 move.b D0, D2
00004BC6 41ED F8B4 lea.l A0, [A5 - 0x74C]
00004BCA 1030 0800 move.b D0, [A0 + D0]
00004BCE 7206 moveq.l D1, 0x06
00004BD0 C081 and.l D0, D1
00004BD2 66E4 bne -0x1A /* 00004BB8 */
00004BD4 4A13 tst.b [A3]
00004BD6 6604 bne +0x6 /* 00004BDC */
00004BD8 91C8 sub.l A0, A0
00004BDA 6032 bra +0x34 /* 00004C0E */
label00004BDC:
00004BDC 224B movea.l A1, A3
00004BDE 600C bra +0xE /* 00004BEC */
label00004BE0:
00004BE0 0C02 001D cmpi.b D2, 0x1D
00004BE4 6604 bne +0x6 /* 00004BEA */
00004BE6 0A04 0001 xori.b D4, 0x1
label00004BEA:
00004BEA 16C2 move.b [A3]+, D2
label00004BEC:
00004BEC 1413 move.b D2, [A3]
00004BEE 0C02 002C cmpi.b D2, 0x2C /* ',' */
00004BF2 6712 beq +0x14 /* 00004C06 */
00004BF4 7000 moveq.l D0, 0x00
00004BF6 1002 move.b D0, D2
00004BF8 41ED F8B4 lea.l A0, [A5 - 0x74C]
00004BFC 1030 0800 move.b D0, [A0 + D0]
00004C00 7206 moveq.l D1, 0x06
00004C02 C081 and.l D0, D1
00004C04 67DA beq -0x24 /* 00004BE0 */
label00004C06:
00004C06 4A04 tst.b D4
00004C08 66D6 bne -0x28 /* 00004BE0 */
00004C0A 4213 clr.b [A3]
00004C0C 2049 movea.l A0, A1
label00004C0E:
00004C0E 4CDF 0810 movem.l D4,A3, [A7]+
00004C12 4E75 rts
fn00004C14:
00004C14 48E7 0810 movem.l -[A7], D4,A3
00004C18 226F 000C movea.l A1, [A7 + 0xC]
00004C1C 7800 moveq.l D4, 0x00
label00004C1E:
00004C1E 4A19 tst.b [A1]+
00004C20 66FC bne -0x2 /* 00004C1E */
00004C22 4A11 tst.b [A1]
00004C24 6606 bne +0x8 /* 00004C2C */
00004C26 91C8 sub.l A0, A0
00004C28 604E bra +0x50 /* 00004C78 */
label00004C2A:
00004C2A 5289 addq.l A1, 1
label00004C2C:
00004C2C 1411 move.b D2, [A1]
00004C2E 0C02 002C cmpi.b D2, 0x2C /* ',' */
00004C32 67F6 beq -0x8 /* 00004C2A */
00004C34 7000 moveq.l D0, 0x00
00004C36 1002 move.b D0, D2
00004C38 41ED F8B4 lea.l A0, [A5 - 0x74C]
00004C3C 1030 0800 move.b D0, [A0 + D0]
00004C40 7206 moveq.l D1, 0x06
00004C42 C081 and.l D0, D1
00004C44 66E4 bne -0x1A /* 00004C2A */
00004C46 2649 movea.l A3, A1
00004C48 600C bra +0xE /* 00004C56 */
label00004C4A:
00004C4A 0C02 001D cmpi.b D2, 0x1D
00004C4E 6604 bne +0x6 /* 00004C54 */
00004C50 0A04 0001 xori.b D4, 0x1
label00004C54:
00004C54 12C2 move.b [A1]+, D2
label00004C56:
00004C56 1411 move.b D2, [A1]
00004C58 0C02 002C cmpi.b D2, 0x2C /* ',' */
00004C5C 6712 beq +0x14 /* 00004C70 */
00004C5E 7000 moveq.l D0, 0x00
00004C60 1002 move.b D0, D2
00004C62 41ED F8B4 lea.l A0, [A5 - 0x74C]
00004C66 1030 0800 move.b D0, [A0 + D0]
00004C6A 7206 moveq.l D1, 0x06
00004C6C C081 and.l D0, D1
00004C6E 67DA beq -0x24 /* 00004C4A */
label00004C70:
00004C70 4A04 tst.b D4
00004C72 66D6 bne -0x28 /* 00004C4A */
00004C74 4211 clr.b [A1]
00004C76 204B movea.l A0, A3
label00004C78:
00004C78 4CDF 0810 movem.l D4,A3, [A7]+
00004C7C 4E75 rts
fn00004C7E:
00004C7E 2F0A move.l -[A7], A2
00004C80 246F 0008 movea.l A2, [A7 + 0x8]
00004C84 6002 bra +0x4 /* 00004C88 */
label00004C86:
00004C86 528A addq.l A2, 1
label00004C88:
00004C88 4A12 tst.b [A2]
00004C8A 6706 beq +0x8 /* 00004C92 */
00004C8C 0C12 003A cmpi.b [A2], 0x3A /* ':' */
00004C90 66F4 bne -0xA /* 00004C86 */
label00004C92:
00004C92 0C12 003A cmpi.b [A2], 0x3A /* ':' */
00004C96 6704 beq +0x6 /* 00004C9C */
00004C98 91C8 sub.l A0, A0
00004C9A 6004 bra +0x6 /* 00004CA0 */
label00004C9C:
00004C9C 204A movea.l A0, A2
00004C9E 5288 addq.l A0, 1
label00004CA0:
00004CA0 245F movea.l A2, [A7]+
00004CA2 4E75 rts
fn00004CA4:
00004CA4 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00004CA8 4FEF FFE0 lea.l A7, [A7 - 0x20]
00004CAC 2C6F 0044 movea.l A6, [A7 + 0x44]
00004CB0 3A2F 0048 move.w D5, [A7 + 0x48]
00004CB4 2F2F 0040 move.l -[A7], [A7 + 0x40]
00004CB8 4EBA FFC4 jsr [PC - 0x3C /* 00004C7E */]
00004CBC 2448 movea.l A2, A0
00004CBE 200A move.l D0, A2
00004CC0 4A80 tst.l D0
00004CC2 584F addq.w A7, 4
00004CC4 6700 0108 beq +0x10A /* 00004DCE */
00004CC8 3005 move.w D0, D5
00004CCA 48C0 ext.l D0
00004CCC 5280 addq.l D0, 1
00004CCE E788 lsl D0, 3
00004CD0 A11E syscall NewPtr, flags=1
00004CD2 2648 movea.l A3, A0
00004CD4 200B move.l D0, A3
00004CD6 4A80 tst.l D0
00004CD8 6606 bne +0x8 /* 00004CE0 */
00004CDA 7000 moveq.l D0, 0x00
00004CDC 6000 00F2 bra +0xF4 /* 00004DD0 */
label00004CE0:
00004CE0 7801 moveq.l D4, 0x01
00004CE2 528A addq.l A2, 1
00004CE4 600C bra +0xE /* 00004CF2 */
label00004CE6:
00004CE6 7000 moveq.l D0, 0x00
00004CE8 1004 move.b D0, D4
00004CEA 41D7 lea.l A0, [A7]
00004CEC 1183 0000 move.b [A0 + D0.w], D3
00004CF0 5204 addq.b D4, 1
label00004CF2:
00004CF2 161A move.b D3, [A2]+
00004CF4 0C03 001D cmpi.b D3, 0x1D
00004CF8 66EC bne -0x12 /* 00004CE6 */
00004CFA 7000 moveq.l D0, 0x00
00004CFC 1004 move.b D0, D4
00004CFE 5380 subq.l D0, 1
00004D00 1E80 move.b [A7], D0
00004D02 4EBA BD48 jsr [PC - 0x42B8 /* 00000A4C */]
00004D06 4A00 tst.b D0
00004D08 6604 bne +0x6 /* 00004D0E */
00004D0A 91C8 sub.l A0, A0
00004D0C 6010 bra +0x12 /* 00004D1E */
label00004D0E:
00004D0E 594F subq.w A7, 4
00004D10 2F3C 5852 6F7A move.l -[A7], 0x58526F7A /* 'XRoz' */
00004D16 486F 0008 pea.l [A7 + 0x8]
00004D1A A9A1 syscall GetNamedResource
00004D1C 205F movea.l A0, [A7]+
label00004D1E:
00004D1E 2848 movea.l A4, A0
00004D20 200C move.l D0, A4
00004D22 4A80 tst.l D0
00004D24 6612 bne +0x14 /* 00004D38 */
00004D26 594F subq.w A7, 4
00004D28 2F3C 5852 6179 move.l -[A7], 0x58526179 /* 'XRay' */
00004D2E 486F 0008 pea.l [A7 + 0x8]
00004D32 A9A1 syscall GetNamedResource
00004D34 205F movea.l A0, [A7]+
00004D36 2848 movea.l A4, A0
label00004D38:
00004D38 3045 movea.w A0, D5
00004D3A 2008 move.l D0, A0
00004D3C E788 lsl D0, 3
00004D3E 278C 0800 move.l [A3 + D0], A4
00004D42 7800 moveq.l D4, 0x00
00004D44 0C12 002F cmpi.b [A2], 0x2F /* '/' */
00004D48 6620 bne +0x22 /* 00004D6A */
00004D4A 528A addq.l A2, 1
00004D4C 6010 bra +0x12 /* 00004D5E */
label00004D4E:
00004D4E 700A moveq.l D0, 0x0A
00004D50 C1C4 muls.w D0, D4
00004D52 7200 moveq.l D1, 0x00
00004D54 1203 move.b D1, D3
00004D56 74D0 moveq.l D2, 0xFFFFFFD0
00004D58 D282 add.l D1, D2
00004D5A D280 add.l D1, D0
00004D5C 3801 move.w D4, D1
label00004D5E:
00004D5E 161A move.b D3, [A2]+
00004D60 4A03 tst.b D3
00004D62 6706 beq +0x8 /* 00004D6A */
00004D64 0C03 002F cmpi.b D3, 0x2F /* '/' */
00004D68 66E4 bne -0x1A /* 00004D4E */
label00004D6A:
00004D6A 4A44 tst.w D4
00004D6C 671A beq +0x1C /* 00004D88 */
00004D6E 594F subq.w A7, 4
00004D70 2F3C 5850 6172 move.l -[A7], 0x58506172 /* 'XPar' */
00004D76 3F04 move.w -[A7], D4
00004D78 A9A0 syscall GetResource
00004D7A 205F movea.l A0, [A7]+
00004D7C 3245 movea.w A1, D5
00004D7E 2009 move.l D0, A1
00004D80 E788 lsl D0, 3
00004D82 2788 0804 move.l [A3 + D0 + 0x4], A0
00004D86 600A bra +0xC /* 00004D92 */
label00004D88:
00004D88 3045 movea.w A0, D5
00004D8A 2008 move.l D0, A0
00004D8C E788 lsl D0, 3
00004D8E 42B3 0804 clr.l [A3 + D0 + 0x4]
label00004D92:
00004D92 3045 movea.w A0, D5
00004D94 2008 move.l D0, A0
00004D96 E788 lsl D0, 3
00004D98 4AB3 0800 tst.l [A3 + D0]
00004D9C 6728 beq +0x2A /* 00004DC6 */
00004D9E 2008 move.l D0, A0
00004DA0 E788 lsl D0, 3
00004DA2 4AB3 0804 tst.l [A3 + D0 + 0x4]
00004DA6 6604 bne +0x6 /* 00004DAC */
00004DA8 4A44 tst.w D4
00004DAA 661A bne +0x1C /* 00004DC6 */
label00004DAC:
00004DAC 4A96 tst.l [A6]
00004DAE 6710 beq +0x12 /* 00004DC0 */
00004DB0 2056 movea.l A0, [A6]
00004DB2 224B movea.l A1, A3
00004DB4 3005 move.w D0, D5
00004DB6 48C0 ext.l D0
00004DB8 E788 lsl D0, 3
00004DBA A02E syscall BlockMove/BlockMoveData
00004DBC 2056 movea.l A0, [A6]
00004DBE A01F syscall DisposPtr/DisposePtr
label00004DC0:
00004DC0 2C8B move.l [A6], A3
00004DC2 7001 moveq.l D0, 0x01
00004DC4 600A bra +0xC /* 00004DD0 */
label00004DC6:
00004DC6 204B movea.l A0, A3
00004DC8 A01F syscall DisposPtr/DisposePtr
00004DCA 7000 moveq.l D0, 0x00
00004DCC 6002 bra +0x4 /* 00004DD0 */
label00004DCE:
00004DCE 7000 moveq.l D0, 0x00
label00004DD0:
00004DD0 4FEF 0020 lea.l A7, [A7 + 0x20]
00004DD4 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00004DD8 4E75 rts
fn00004DDA:
00004DDA 226F 0004 movea.l A1, [A7 + 0x4]
00004DDE 7000 moveq.l D0, 0x00
00004DE0 1029 0001 move.b D0, [A1 + 0x1]
00004DE4 7210 moveq.l D1, 0x10
00004DE6 E3A8 lsl D0, D1
00004DE8 7200 moveq.l D1, 0x00
00004DEA 1211 move.b D1, [A1]
00004DEC 7418 moveq.l D2, 0x18
00004DEE E5A9 lsl D1, D2
00004DF0 D280 add.l D1, D0
00004DF2 7000 moveq.l D0, 0x00
00004DF4 1029 0002 move.b D0, [A1 + 0x2]
00004DF8 E188 lsl D0, 8
00004DFA D081 add.l D0, D1
00004DFC 7200 moveq.l D1, 0x00
00004DFE 1229 0003 move.b D1, [A1 + 0x3]
00004E02 D280 add.l D1, D0
00004E04 206F 0008 movea.l A0, [A7 + 0x8]
00004E08 2081 move.l [A0], D1
00004E0A 2049 movea.l A0, A1
00004E0C 5888 addq.l A0, 4
00004E0E 4E75 rts
fn00004E10:
00004E10 226F 0004 movea.l A1, [A7 + 0x4]
00004E14 7000 moveq.l D0, 0x00
00004E16 1029 0001 move.b D0, [A1 + 0x1]
00004E1A 7200 moveq.l D1, 0x00
00004E1C 1211 move.b D1, [A1]
00004E1E E189 lsl D1, 8
00004E20 D280 add.l D1, D0
00004E22 206F 0008 movea.l A0, [A7 + 0x8]
00004E26 3081 move.w [A0], D1
00004E28 2049 movea.l A0, A1
00004E2A 5488 addq.l A0, 2
00004E2C 4E75 rts
fn00004E2E:
00004E2E 206F 0004 movea.l A0, [A7 + 0x4]
00004E32 226F 0008 movea.l A1, [A7 + 0x8]
00004E36 7201 moveq.l D1, 0x01
00004E38 5288 addq.l A0, 1
00004E3A 600A bra +0xC /* 00004E46 */
label00004E3C:
00004E3C 7000 moveq.l D0, 0x00
00004E3E 3001 move.w D0, D1
00004E40 1382 0800 move.b [A1 + D0], D2
00004E44 5241 addq.w D1, 1
label00004E46:
00004E46 1418 move.b D2, [A0]+
00004E48 0C02 001D cmpi.b D2, 0x1D
00004E4C 6706 beq +0x8 /* 00004E54 */
00004E4E B26F 000C cmp.w D1, [A7 + 0xC]
00004E52 65E8 bcs -0x16 /* 00004E3C */
label00004E54:
00004E54 7000 moveq.l D0, 0x00
00004E56 3001 move.w D0, D1
00004E58 5380 subq.l D0, 1
00004E5A 1280 move.b [A1], D0
00004E5C 0C02 001D cmpi.b D2, 0x1D
00004E60 6706 beq +0x8 /* 00004E68 */
label00004E62:
00004E62 0C18 001D cmpi.b [A0]+, 0x1D
00004E66 66FA bne -0x4 /* 00004E62 */
label00004E68:
00004E68 4E75 rts
fn00004E6A:
00004E6A 48E7 1030 movem.l -[A7], D3,A2,A3
00004E6E 266F 0014 movea.l A3, [A7 + 0x14]
00004E72 7600 moveq.l D3, 0x00
00004E74 2F2F 0010 move.l -[A7], [A7 + 0x10]
00004E78 4EBA FE04 jsr [PC - 0x1FC /* 00004C7E */]
00004E7C 2448 movea.l A2, A0
00004E7E 200A move.l D0, A2
00004E80 4A80 tst.l D0
00004E82 584F addq.w A7, 4
00004E84 6732 beq +0x34 /* 00004EB8 */
00004E86 0C1A 001D cmpi.b [A2]+, 0x1D
00004E8A 662C bne +0x2E /* 00004EB8 */
00004E8C 2F0B move.l -[A7], A3
00004E8E 2F0A move.l -[A7], A2
00004E90 4EBA FF48 jsr [PC - 0xB8 /* 00004DDA */]
00004E94 2448 movea.l A2, A0
00004E96 486B 0004 pea.l [A3 + 0x4]
00004E9A 2F0A move.l -[A7], A2
00004E9C 4EBA FF72 jsr [PC - 0x8E /* 00004E10 */]
00004EA0 2448 movea.l A2, A0
00004EA2 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00004EA6 486B 0006 pea.l [A3 + 0x6]
00004EAA 2F0A move.l -[A7], A2
00004EAC 4EBA FF80 jsr [PC - 0x80 /* 00004E2E */]
00004EB0 2448 movea.l A2, A0
00004EB2 7601 moveq.l D3, 0x01
00004EB4 4FEF 001A lea.l A7, [A7 + 0x1A]
label00004EB8:
00004EB8 1003 move.b D0, D3
00004EBA 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00004EBE 4E75 rts
fn00004EC0:
00004EC0 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
00004EC4 554F subq.w A7, 2
00004EC6 2E2F 002A move.l D7, [A7 + 0x2A]
00004ECA 4257 clr.w [A7]
00004ECC 206F 0032 movea.l A0, [A7 + 0x32]
00004ED0 4290 clr.l [A0]
00004ED2 206F 002E movea.l A0, [A7 + 0x2E]
00004ED6 4250 clr.w [A0]
00004ED8 95CA sub.l A2, A2
00004EDA 7A00 moveq.l D5, 0x00
00004EDC 3805 move.w D4, D5
00004EDE 2047 movea.l A0, D7
00004EE0 A029 syscall HLock
00004EE2 594F subq.w A7, 4
00004EE4 2047 movea.l A0, D7
00004EE6 2F10 move.l -[A7], [A0]
00004EE8 4EAD FF68 jsr [A5 - 0x98]
00004EEC 205F movea.l A0, [A7]+
00004EEE 2848 movea.l A4, A0
00004EF0 594F subq.w A7, 4
00004EF2 2F07 move.l -[A7], D7
00004EF4 4EAD FEB8 jsr [A5 - 0x148]
00004EF8 201F move.l D0, [A7]+
00004EFA 204C movea.l A0, A4
00004EFC D1C0 add.l A0, D0
00004EFE 2608 move.l D3, A0
00004F00 2C4C movea.l A6, A4
00004F02 264C movea.l A3, A4
00004F04 606A bra +0x6C /* 00004F70 */
label00004F06:
00004F06 0C13 000A cmpi.b [A3], 0xA /* '\n' */
00004F0A 6662 bne +0x64 /* 00004F6E */
00004F0C B845 cmp.w D4, D5
00004F0E 6D4A blt +0x4C /* 00004F5A */
00004F10 3005 move.w D0, D5
00004F12 48C0 ext.l D0
00004F14 0680 0000 0400 addi.l D0, 0x400
00004F1A E588 lsl D0, 2
00004F1C A11E syscall NewPtr, flags=1
00004F1E 2C08 move.l D6, A0
00004F20 4A86 tst.l D6
00004F22 671E beq +0x20 /* 00004F42 */
00004F24 200A move.l D0, A2
00004F26 4A80 tst.l D0
00004F28 6710 beq +0x12 /* 00004F3A */
00004F2A 3045 movea.w A0, D5
00004F2C 2008 move.l D0, A0
00004F2E E588 lsl D0, 2
00004F30 204A movea.l A0, A2
00004F32 2246 movea.l A1, D6
00004F34 A02E syscall BlockMove/BlockMoveData
00004F36 204A movea.l A0, A2
00004F38 A01F syscall DisposPtr/DisposePtr
label00004F3A:
00004F3A 2446 movea.l A2, D6
00004F3C 0645 0400 addi.w D5, 0x400
00004F40 6018 bra +0x1A /* 00004F5A */
label00004F42:
00004F42 554F subq.w A7, 2
00004F44 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00004F48 301F move.w D0, [A7]+
00004F4A 3E80 move.w [A7], D0
00004F4C 200A move.l D0, A2
00004F4E 4A80 tst.l D0
00004F50 6722 beq +0x24 /* 00004F74 */
00004F52 204A movea.l A0, A2
00004F54 A01F syscall DisposPtr/DisposePtr
00004F56 95CA sub.l A2, A2
00004F58 601A bra +0x1C /* 00004F74 */
label00004F5A:
00004F5A 204E movea.l A0, A6
00004F5C 91CC sub.l A0, A4
00004F5E 3004 move.w D0, D4
00004F60 5244 addq.w D4, 1
00004F62 48C0 ext.l D0
00004F64 E588 lsl D0, 2
00004F66 2588 0800 move.l [A2 + D0], A0
00004F6A 2C4B movea.l A6, A3
00004F6C 528E addq.l A6, 1
label00004F6E:
00004F6E 528B addq.l A3, 1
label00004F70:
00004F70 B7C3 cmpa.l A3, D3
00004F72 6592 bcs -0x6C /* 00004F06 */
label00004F74:
00004F74 2047 movea.l A0, D7
00004F76 A02A syscall HUnlock
00004F78 200A move.l D0, A2
00004F7A 4A80 tst.l D0
00004F7C 6716 beq +0x18 /* 00004F94 */
00004F7E 204A movea.l A0, A2
00004F80 3004 move.w D0, D4
00004F82 48C0 ext.l D0
00004F84 E588 lsl D0, 2
00004F86 A020 syscall SetPtrSize
00004F88 206F 0032 movea.l A0, [A7 + 0x32]
00004F8C 208A move.l [A0], A2
00004F8E 206F 002E movea.l A0, [A7 + 0x2E]
00004F92 3084 move.w [A0], D4
label00004F94:
00004F94 3017 move.w D0, [A7]
00004F96 544F addq.w A7, 2
00004F98 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
00004F9C 4E75 rts
fn00004F9E:
00004F9E 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00004FA2 246F 0018 movea.l A2, [A7 + 0x18]
00004FA6 362F 001E move.w D3, [A7 + 0x1E]
00004FAA 2C6F 0020 movea.l A6, [A7 + 0x20]
00004FAE 3043 movea.w A0, D3
00004FB0 2008 move.l D0, A0
00004FB2 A11E syscall NewPtr, flags=1
00004FB4 2848 movea.l A4, A0
00004FB6 200C move.l D0, A4
00004FB8 4A80 tst.l D0
00004FBA 6740 beq +0x42 /* 00004FFC */
00004FBC 302F 001C move.w D0, [A7 + 0x1C]
00004FC0 48C0 ext.l D0
00004FC2 5380 subq.l D0, 1
00004FC4 E588 lsl D0, 2
00004FC6 2652 movea.l A3, [A2]
00004FC8 226B 0006 movea.l A1, [A3 + 0x6]
00004FCC 2652 movea.l A3, [A2]
00004FCE 2653 movea.l A3, [A3]
00004FD0 2653 movea.l A3, [A3]
00004FD2 D7F1 0800 add.l A3, [A1 + D0]
00004FD6 244C movea.l A2, A4
label00004FD8:
00004FD8 5343 subq.w D3, 1
00004FDA 670A beq +0xC /* 00004FE6 */
00004FDC 14DB move.b [A2]+, [A3]+
00004FDE 0C2A 000A FFFF cmpi.b [A2 - 0x1], 0xA /* '\n' */
00004FE4 66F2 bne -0xC /* 00004FD8 */
label00004FE6:
00004FE6 4A43 tst.w D3
00004FE8 6F06 ble +0x8 /* 00004FF0 */
00004FEA 4212 clr.b [A2]
00004FEC 4256 clr.w [A6]
00004FEE 6016 bra +0x18 /* 00005006 */
label00004FF0:
00004FF0 204C movea.l A0, A4
00004FF2 A01F syscall DisposPtr/DisposePtr
00004FF4 99CC sub.l A4, A4
00004FF6 3CBC 0001 move.w [A6], 0x1
00004FFA 600A bra +0xC /* 00005006 */
label00004FFC:
00004FFC 554F subq.w A7, 2
00004FFE 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00005002 301F move.w D0, [A7]+
00005004 3C80 move.w [A6], D0
label00005006:
00005006 204C movea.l A0, A4
00005008 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
0000500C 4E75 rts
fn0000500E:
0000500E 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00005012 554F subq.w A7, 2
00005014 266F 0016 movea.l A3, [A7 + 0x16]
00005018 382F 001A move.w D4, [A7 + 0x1A]
0000501C 95CA sub.l A2, A2
0000501E 4A44 tst.w D4
00005020 6F2C ble +0x2E /* 0000504E */
00005022 2053 movea.l A0, [A3]
00005024 B868 0004 cmp.w D4, [A0 + 0x4]
00005028 6E24 bgt +0x26 /* 0000504E */
0000502A 363C 0800 move.w D3, 0x800
0000502E 3EBC 0001 move.w [A7], 0x1
00005032 6016 bra +0x18 /* 0000504A */
label00005034:
00005034 4857 pea.l [A7]
00005036 3F03 move.w -[A7], D3
00005038 3F04 move.w -[A7], D4
0000503A 2F0B move.l -[A7], A3
0000503C 4EBA FF60 jsr [PC - 0xA0 /* 00004F9E */]
00005040 2448 movea.l A2, A0
00005042 0643 0800 addi.w D3, 0x800
00005046 4FEF 000C lea.l A7, [A7 + 0xC]
label0000504A:
0000504A 4A57 tst.w [A7]
0000504C 6EE6 bgt -0x18 /* 00005034 */
label0000504E:
0000504E 204A movea.l A0, A2
00005050 544F addq.w A7, 2
00005052 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00005056 4E75 rts
fn00005058:
00005058 206F 0004 movea.l A0, [A7 + 0x4]
0000505C 0C10 0059 cmpi.b [A0], 0x59 /* 'Y' */
00005060 6604 bne +0x6 /* 00005066 */
00005062 7001 moveq.l D0, 0x01
00005064 4E75 rts
label00005066:
00005066 0C10 004E cmpi.b [A0], 0x4E /* 'N' */
0000506A 6604 bne +0x6 /* 00005070 */
0000506C 70FF moveq.l D0, 0xFFFFFFFF
0000506E 4E75 rts
label00005070:
00005070 7000 moveq.l D0, 0x00
00005072 4E75 rts
fn00005074:
00005074 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00005078 266F 0014 movea.l A3, [A7 + 0x14]
0000507C 7800 moveq.l D4, 0x00
0000507E 2453 movea.l A2, [A3]
00005080 1612 move.b D3, [A2]
00005082 6018 bra +0x1A /* 0000509C */
label00005084:
00005084 2004 move.l D0, D4
00005086 720A moveq.l D1, 0x0A
00005088 4EAD FB78 jsr [A5 - 0x488]
0000508C 7200 moveq.l D1, 0x00
0000508E 1203 move.b D1, D3
00005090 74D0 moveq.l D2, 0xFFFFFFD0
00005092 D282 add.l D1, D2
00005094 D280 add.l D1, D0
00005096 2801 move.l D4, D1
00005098 528A addq.l A2, 1
0000509A 1612 move.b D3, [A2]
label0000509C:
0000509C 7000 moveq.l D0, 0x00
0000509E 1003 move.b D0, D3
000050A0 41ED F8B4 lea.l A0, [A5 - 0x74C]
000050A4 1030 0800 move.b D0, [A0 + D0]
000050A8 7210 moveq.l D1, 0x10
000050AA C081 and.l D0, D1
000050AC 66D6 bne -0x28 /* 00005084 */
000050AE 268A move.l [A3], A2
000050B0 2004 move.l D0, D4
000050B2 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000050B6 4E75 rts
fn000050B8:
000050B8 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
000050BC 4FEF FFCE lea.l A7, [A7 - 0x32]
000050C0 203C 0000 00B0 move.l D0, 0xB0
000050C6 A322 syscall NewHandleClear, flags=3
000050C8 2448 movea.l A2, A0
000050CA 200A move.l D0, A2
000050CC 4A80 tst.l D0
000050CE 6606 bne +0x8 /* 000050D6 */
000050D0 91C8 sub.l A0, A0
000050D2 6000 0586 bra +0x588 /* 0000565A */
label000050D6:
000050D6 2052 movea.l A0, [A2]
000050D8 117C 0041 0045 move.b [A0 + 0x45], 0x41 /* 'A' */
000050DE 2F2F 004E move.l -[A7], [A7 + 0x4E]
000050E2 4EBA FAC8 jsr [PC - 0x538 /* 00004BAC */]
000050E6 2648 movea.l A3, A0
000050E8 3F3C 7D01 move.w -[A7], 0x7D01
000050EC 2F0B move.l -[A7], A3
000050EE 4EBA FA48 jsr [PC - 0x5B8 /* 00004B38 */]
000050F2 3600 move.w D3, D0
000050F4 4A43 tst.w D3
000050F6 4FEF 000A lea.l A7, [A7 + 0xA]
000050FA 6604 bne +0x6 /* 00005100 */
000050FC 70FF moveq.l D0, 0xFFFFFFFF
000050FE 6006 bra +0x8 /* 00005106 */
label00005100:
00005100 3003 move.w D0, D3
00005102 48C0 ext.l D0
00005104 5380 subq.l D0, 1
label00005106:
00005106 2052 movea.l A0, [A2]
00005108 3140 0002 move.w [A0 + 0x2], D0
0000510C 6000 0538 bra +0x53A /* 00005646 */
label00005110:
00005110 3F3C 7D02 move.w -[A7], 0x7D02
00005114 2F0B move.l -[A7], A3
00005116 4EBA FA20 jsr [PC - 0x5E0 /* 00004B38 */]
0000511A 48C0 ext.l D0
0000511C 5C4F addq.w A7, 6
0000511E 0C80 0000 001C cmpi.l D0, 0x1C
00005124 6200 0520 bhi +0x522 /* 00005646 */
00005128 D040 add.w D0, D0
0000512A 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000512E 4EFB 0002 jmp [PC + D0.w + 0x2]
00005132 0514 btst [A4], D2
00005134 003A 00AC 0514 ori.b [PC + 0x514 /* 0000564A, value 0xF5 */], 0xAC
0000513A 0514 btst [A4], D2
0000513C 0514 btst [A4], D2
0000513E 0514 btst [A4], D2
00005140 0514 btst [A4], D2
00005142 0514 btst [A4], D2
00005144 0514 btst [A4], D2
00005146 012E 013A btst [A6 + 0x13A], D0
0000514A 0146 bchg D6, D0
0000514C 0152 bchg [A2], D0
0000514E 016E 0194 bchg [A6 + 0x194], D0
00005152 01CC bset A4, D0
00005154 01F2 02C0 bset [A2 + D0.w * 2 - 0x64], D0
00005158 0302 btst D2, D1
0000515A 0344 bchg D4, D1
0000515C 036E 037A bchg [A6 + 0x37A], D1
00005160 0386 bclr D6, D1
00005162 03BA 03EE bclr [PC + 0x3EE /* 00005552, value 0xA9A0205F */], D1
00005166 044C 0470 subi.w A4, 0x470
0000516A 04BE 2F0B 4EBA subi.l <<invalid special address>>, 0x2F0B4EBA
00005170 FB0E .extension 0xB0E // unimplemented
00005172 2F48 0032 move.l [A7 + 0x32], A0
00005176 2008 move.l D0, A0
00005178 584F addq.w A7, 4
0000517A 6700 04CA beq +0x4CC /* 00005646 */
0000517E 203C 0000 0104 move.l D0, 0x104
00005184 A122 syscall NewHandle, flags=1
00005186 2848 movea.l A4, A0
00005188 200C move.l D0, A4
0000518A 4A80 tst.l D0
0000518C 6700 04B8 beq +0x4BA /* 00005646 */
00005190 2C54 movea.l A6, [A4]
00005192 5A8E addq.l A6, 5
00005194 52AF 002E addq.l [A7 + 0x2E], 1
00005198 600A bra +0xC /* 000051A4 */
label0000519A:
0000519A 206F 002E movea.l A0, [A7 + 0x2E]
0000519E 52AF 002E addq.l [A7 + 0x2E], 1
000051A2 1CD0 move.b [A6]+, [A0]
label000051A4:
000051A4 206F 002E movea.l A0, [A7 + 0x2E]
000051A8 0C10 001D cmpi.b [A0], 0x1D
000051AC 66EC bne -0x12 /* 0000519A */
000051AE 2054 movea.l A0, [A4]
000051B0 5A88 addq.l A0, 5
000051B2 224E movea.l A1, A6
000051B4 93C8 sub.l A1, A0
000051B6 2009 move.l D0, A1
000051B8 2054 movea.l A0, [A4]
000051BA 1140 0004 move.b [A0 + 0x4], D0
000051BE 2052 movea.l A0, [A2]
000051C0 2254 movea.l A1, [A4]
000051C2 22A8 003C move.l [A1], [A0 + 0x3C]
000051C6 2052 movea.l A0, [A2]
000051C8 214C 003C move.l [A0 + 0x3C], A4
000051CC 2054 movea.l A0, [A4]
000051CE 7000 moveq.l D0, 0x00
000051D0 1028 0004 move.b D0, [A0 + 0x4]
000051D4 5A80 addq.l D0, 5
000051D6 204C movea.l A0, A4
000051D8 A024 syscall SetHandleSize
000051DA 6000 046A bra +0x46C /* 00005646 */
000051DE 2F0B move.l -[A7], A3
000051E0 4EBA FA9C jsr [PC - 0x564 /* 00004C7E */]
000051E4 2F48 0032 move.l [A7 + 0x32], A0
000051E8 2008 move.l D0, A0
000051EA 584F addq.w A7, 4
000051EC 6700 0458 beq +0x45A /* 00005646 */
000051F0 206F 002E movea.l A0, [A7 + 0x2E]
000051F4 41E8 0001 lea.l A0, [A0 + 0x1]
000051F8 2252 movea.l A1, [A2]
000051FA 43E9 0005 lea.l A1, [A1 + 0x5]
000051FE 701F moveq.l D0, 0x1F
00005200 A02E syscall BlockMove/BlockMoveData
00005202 7600 moveq.l D3, 0x00
00005204 52AF 002E addq.l [A7 + 0x2E], 1
00005208 6002 bra +0x4 /* 0000520C */
label0000520A:
0000520A 5203 addq.b D3, 1
label0000520C:
0000520C 206F 002E movea.l A0, [A7 + 0x2E]
00005210 52AF 002E addq.l [A7 + 0x2E], 1
00005214 0C10 001D cmpi.b [A0], 0x1D
00005218 66F0 bne -0xE /* 0000520A */
0000521A 2052 movea.l A0, [A2]
0000521C 1143 0004 move.b [A0 + 0x4], D3
00005220 7800 moveq.l D4, 0x00
00005222 206F 002E movea.l A0, [A7 + 0x2E]
00005226 0C10 002F cmpi.b [A0], 0x2F /* '/' */
0000522A 662A bne +0x2C /* 00005256 */
0000522C 52AF 002E addq.l [A7 + 0x2E], 1
00005230 6010 bra +0x12 /* 00005242 */
label00005232:
00005232 700A moveq.l D0, 0x0A
00005234 C1C4 muls.w D0, D4
00005236 7200 moveq.l D1, 0x00
00005238 1203 move.b D1, D3
0000523A 74D0 moveq.l D2, 0xFFFFFFD0
0000523C D282 add.l D1, D2
0000523E D280 add.l D1, D0
00005240 3801 move.w D4, D1
label00005242:
00005242 206F 002E movea.l A0, [A7 + 0x2E]
00005246 52AF 002E addq.l [A7 + 0x2E], 1
0000524A 1610 move.b D3, [A0]
0000524C 4A03 tst.b D3
0000524E 6706 beq +0x8 /* 00005256 */
00005250 0C03 002F cmpi.b D3, 0x2F /* '/' */
00005254 66DC bne -0x22 /* 00005232 */
label00005256:
00005256 2052 movea.l A0, [A2]
00005258 3144 006A move.w [A0 + 0x6A], D4
0000525C 6000 03E8 bra +0x3EA /* 00005646 */
00005260 2052 movea.l A0, [A2]
00005262 117C 0001 0040 move.b [A0 + 0x40], 0x1
00005268 6000 03DC bra +0x3DE /* 00005646 */
0000526C 2052 movea.l A0, [A2]
0000526E 117C 0001 0041 move.b [A0 + 0x41], 0x1
00005274 6000 03D0 bra +0x3D2 /* 00005646 */
00005278 2052 movea.l A0, [A2]
0000527A 117C 0001 0042 move.b [A0 + 0x42], 0x1
00005280 6000 03C4 bra +0x3C6 /* 00005646 */
00005284 2F0B move.l -[A7], A3
00005286 4EBA F9F6 jsr [PC - 0x60A /* 00004C7E */]
0000528A 2F48 0032 move.l [A7 + 0x32], A0
0000528E 2008 move.l D0, A0
00005290 584F addq.w A7, 4
00005292 6700 03B2 beq +0x3B4 /* 00005646 */
00005296 2252 movea.l A1, [A2]
00005298 1350 0045 move.b [A1 + 0x45], [A0]
0000529C 6000 03A8 bra +0x3AA /* 00005646 */
000052A0 2F0B move.l -[A7], A3
000052A2 4EBA F9DA jsr [PC - 0x626 /* 00004C7E */]
000052A6 2F48 0032 move.l [A7 + 0x32], A0
000052AA 2008 move.l D0, A0
000052AC 584F addq.w A7, 4
000052AE 6700 0396 beq +0x398 /* 00005646 */
000052B2 2F2F 002E move.l -[A7], [A7 + 0x2E]
000052B6 4EBA FDA0 jsr [PC - 0x260 /* 00005058 */]
000052BA 2052 movea.l A0, [A2]
000052BC 3140 0046 move.w [A0 + 0x46], D0
000052C0 584F addq.w A7, 4
000052C2 6000 0382 bra +0x384 /* 00005646 */
000052C6 2F0B move.l -[A7], A3
000052C8 4EBA F9B4 jsr [PC - 0x64C /* 00004C7E */]
000052CC 2F48 0032 move.l [A7 + 0x32], A0
000052D0 2008 move.l D0, A0
000052D2 584F addq.w A7, 4
000052D4 6700 0370 beq +0x372 /* 00005646 */
000052D8 2F2F 002E move.l -[A7], [A7 + 0x2E]
000052DC 4EBA FD7A jsr [PC - 0x286 /* 00005058 */]
000052E0 2052 movea.l A0, [A2]
000052E2 3140 0048 move.w [A0 + 0x48], D0
000052E6 206F 0032 movea.l A0, [A7 + 0x32]
000052EA 4868 0002 pea.l [A0 + 0x2]
000052EE 4EBA FD68 jsr [PC - 0x298 /* 00005058 */]
000052F2 2052 movea.l A0, [A2]
000052F4 3140 004A move.w [A0 + 0x4A], D0
000052F8 504F addq.w A7, 8
000052FA 6000 034A bra +0x34C /* 00005646 */
000052FE 2F0B move.l -[A7], A3
00005300 4EBA F97C jsr [PC - 0x684 /* 00004C7E */]
00005304 2F48 0032 move.l [A7 + 0x32], A0
00005308 2008 move.l D0, A0
0000530A 584F addq.w A7, 4
0000530C 6700 0338 beq +0x33A /* 00005646 */
00005310 2F2F 002E move.l -[A7], [A7 + 0x2E]
00005314 4EBA FD42 jsr [PC - 0x2BE /* 00005058 */]
00005318 2052 movea.l A0, [A2]
0000531A 3140 004C move.w [A0 + 0x4C], D0
0000531E 584F addq.w A7, 4
00005320 6000 0324 bra +0x326 /* 00005646 */
00005324 2F0B move.l -[A7], A3
00005326 4EBA F956 jsr [PC - 0x6AA /* 00004C7E */]
0000532A 2F48 0032 move.l [A7 + 0x32], A0
0000532E 2008 move.l D0, A0
00005330 584F addq.w A7, 4
00005332 6700 0312 beq +0x314 /* 00005646 */
00005336 0C10 004E cmpi.b [A0], 0x4E /* 'N' */
0000533A 6614 bne +0x16 /* 00005350 */
0000533C 2052 movea.l A0, [A2]
0000533E 42A8 004E clr.l [A0 + 0x4E]
00005342 2052 movea.l A0, [A2]
00005344 70FF moveq.l D0, 0xFFFFFFFF
00005346 2140 0052 move.l [A0 + 0x52], D0
0000534A 54AF 002E addq.l [A7 + 0x2E], 2
0000534E 6042 bra +0x44 /* 00005392 */
label00005350:
00005350 0C10 0041 cmpi.b [A0], 0x41 /* 'A' */
00005354 6616 bne +0x18 /* 0000536C */
00005356 2052 movea.l A0, [A2]
00005358 42A8 004E clr.l [A0 + 0x4E]
0000535C 2052 movea.l A0, [A2]
0000535E 217C 0000 00FF 0052 move.l [A0 + 0x52], 0xFF
00005366 54AF 002E addq.l [A7 + 0x2E], 2
0000536A 6026 bra +0x28 /* 00005392 */
label0000536C:
0000536C 486F 002E pea.l [A7 + 0x2E]
00005370 4EBA FD02 jsr [PC - 0x2FE /* 00005074 */]
00005374 2052 movea.l A0, [A2]
00005376 2140 004E move.l [A0 + 0x4E], D0
0000537A 52AF 0032 addq.l [A7 + 0x32], 1
0000537E 486F 0032 pea.l [A7 + 0x32]
00005382 4EBA FCF0 jsr [PC - 0x310 /* 00005074 */]
00005386 2052 movea.l A0, [A2]
00005388 2140 0052 move.l [A0 + 0x52], D0
0000538C 52AF 0036 addq.l [A7 + 0x36], 1
00005390 504F addq.w A7, 8
label00005392:
00005392 206F 002E movea.l A0, [A7 + 0x2E]
00005396 0C10 004E cmpi.b [A0], 0x4E /* 'N' */
0000539A 6612 bne +0x14 /* 000053AE */
0000539C 2052 movea.l A0, [A2]
0000539E 42A8 0056 clr.l [A0 + 0x56]
000053A2 2052 movea.l A0, [A2]
000053A4 70FF moveq.l D0, 0xFFFFFFFF
000053A6 2140 005A move.l [A0 + 0x5A], D0
000053AA 6000 029A bra +0x29C /* 00005646 */
label000053AE:
000053AE 0C10 0041 cmpi.b [A0], 0x41 /* 'A' */
000053B2 6618 bne +0x1A /* 000053CC */
000053B4 2052 movea.l A0, [A2]
000053B6 217C 0000 0100 0056 move.l [A0 + 0x56], 0x100
000053BE 2052 movea.l A0, [A2]
000053C0 217C 0000 01FF 005A move.l [A0 + 0x5A], 0x1FF
000053C8 6000 027C bra +0x27E /* 00005646 */
label000053CC:
000053CC 486F 002E pea.l [A7 + 0x2E]
000053D0 4EBA FCA2 jsr [PC - 0x35E /* 00005074 */]
000053D4 2052 movea.l A0, [A2]
000053D6 2140 0056 move.l [A0 + 0x56], D0
000053DA 52AF 0032 addq.l [A7 + 0x32], 1
000053DE 486F 0032 pea.l [A7 + 0x32]
000053E2 4EBA FC90 jsr [PC - 0x370 /* 00005074 */]
000053E6 2052 movea.l A0, [A2]
000053E8 2140 005A move.l [A0 + 0x5A], D0
000053EC 504F addq.w A7, 8
000053EE 6000 0256 bra +0x258 /* 00005646 */
000053F2 2F0B move.l -[A7], A3
000053F4 4EBA F888 jsr [PC - 0x778 /* 00004C7E */]
000053F8 2F48 0032 move.l [A7 + 0x32], A0
000053FC 2008 move.l D0, A0
000053FE 584F addq.w A7, 4
00005400 6700 0244 beq +0x246 /* 00005646 */
00005404 7000 moveq.l D0, 0x00
00005406 1028 0002 move.b D0, [A0 + 0x2]
0000540A 72D0 moveq.l D1, 0xFFFFFFD0
0000540C D081 add.l D0, D1
0000540E E188 lsl D0, 8
00005410 7200 moveq.l D1, 0x00
00005412 1210 move.b D1, [A0]
00005414 74D0 moveq.l D2, 0xFFFFFFD0
00005416 D282 add.l D1, D2
00005418 7410 moveq.l D2, 0x10
0000541A E5A9 lsl D1, D2
0000541C 8280 or.l D1, D0
0000541E 7000 moveq.l D0, 0x00
00005420 1028 0004 move.b D0, [A0 + 0x4]
00005424 74D0 moveq.l D2, 0xFFFFFFD0
00005426 D082 add.l D0, D2
00005428 8081 or.l D0, D1
0000542A 2052 movea.l A0, [A2]
0000542C 2140 005E move.l [A0 + 0x5E], D0
00005430 6000 0214 bra +0x216 /* 00005646 */
00005434 2F0B move.l -[A7], A3
00005436 4EBA F846 jsr [PC - 0x7BA /* 00004C7E */]
0000543A 2F48 0032 move.l [A7 + 0x32], A0
0000543E 2008 move.l D0, A0
00005440 584F addq.w A7, 4
00005442 6700 0202 beq +0x204 /* 00005646 */
00005446 7000 moveq.l D0, 0x00
00005448 1028 0002 move.b D0, [A0 + 0x2]
0000544C 72D0 moveq.l D1, 0xFFFFFFD0
0000544E D081 add.l D0, D1
00005450 E188 lsl D0, 8
00005452 7200 moveq.l D1, 0x00
00005454 1210 move.b D1, [A0]
00005456 74D0 moveq.l D2, 0xFFFFFFD0
00005458 D282 add.l D1, D2
0000545A 7410 moveq.l D2, 0x10
0000545C E5A9 lsl D1, D2
0000545E 8280 or.l D1, D0
00005460 7000 moveq.l D0, 0x00
00005462 1028 0004 move.b D0, [A0 + 0x4]
00005466 74D0 moveq.l D2, 0xFFFFFFD0
00005468 D082 add.l D0, D2
0000546A 8081 or.l D0, D1
0000546C 2052 movea.l A0, [A2]
0000546E 2140 0062 move.l [A0 + 0x62], D0
00005472 6000 01D2 bra +0x1D4 /* 00005646 */
00005476 2F0B move.l -[A7], A3
00005478 4EBA F804 jsr [PC - 0x7FC /* 00004C7E */]
0000547C 2F48 0032 move.l [A7 + 0x32], A0
00005480 2008 move.l D0, A0
00005482 584F addq.w A7, 4
00005484 6700 01C0 beq +0x1C2 /* 00005646 */
00005488 486F 002E pea.l [A7 + 0x2E]
0000548C 4EBA FBE6 jsr [PC - 0x41A /* 00005074 */]
00005490 720A moveq.l D1, 0x0A
00005492 E3A8 lsl D0, D1
00005494 2052 movea.l A0, [A2]
00005496 2140 0066 move.l [A0 + 0x66], D0
0000549A 584F addq.w A7, 4
0000549C 6000 01A8 bra +0x1AA /* 00005646 */
000054A0 2052 movea.l A0, [A2]
000054A2 117C 0001 0043 move.b [A0 + 0x43], 0x1
000054A8 6000 019C bra +0x19E /* 00005646 */
000054AC 2052 movea.l A0, [A2]
000054AE 117C 0001 0044 move.b [A0 + 0x44], 0x1
000054B4 6000 0190 bra +0x192 /* 00005646 */
000054B8 2052 movea.l A0, [A2]
000054BA 2F68 0070 002A move.l [A7 + 0x2A], [A0 + 0x70]
000054C0 2052 movea.l A0, [A2]
000054C2 3F28 006E move.w -[A7], [A0 + 0x6E]
000054C6 486F 002C pea.l [A7 + 0x2C]
000054CA 2F0B move.l -[A7], A3
000054CC 4EBA F7D6 jsr [PC - 0x82A /* 00004CA4 */]
000054D0 4A00 tst.b D0
000054D2 4FEF 000A lea.l A7, [A7 + 0xA]
000054D6 6700 016E beq +0x170 /* 00005646 */
000054DA 2052 movea.l A0, [A2]
000054DC 216F 002A 0070 move.l [A0 + 0x70], [A7 + 0x2A]
000054E2 2052 movea.l A0, [A2]
000054E4 52A8 006C addq.l [A0 + 0x6C], 1
000054E8 6000 015C bra +0x15E /* 00005646 */
000054EC 2052 movea.l A0, [A2]
000054EE 2F68 0078 0026 move.l [A7 + 0x26], [A0 + 0x78]
000054F4 2052 movea.l A0, [A2]
000054F6 3F28 0076 move.w -[A7], [A0 + 0x76]
000054FA 486F 0028 pea.l [A7 + 0x28]
000054FE 2F0B move.l -[A7], A3
00005500 4EBA F7A2 jsr [PC - 0x85E /* 00004CA4 */]
00005504 4A00 tst.b D0
00005506 4FEF 000A lea.l A7, [A7 + 0xA]
0000550A 6700 013A beq +0x13C /* 00005646 */
0000550E 2052 movea.l A0, [A2]
00005510 216F 0026 0078 move.l [A0 + 0x78], [A7 + 0x26]
00005516 2052 movea.l A0, [A2]
00005518 52A8 0074 addq.l [A0 + 0x74], 1
0000551C 6000 0128 bra +0x12A /* 00005646 */
00005520 2F0B move.l -[A7], A3
00005522 4EBA F75A jsr [PC - 0x8A6 /* 00004C7E */]
00005526 2F48 0032 move.l [A7 + 0x32], A0
0000552A 2008 move.l D0, A0
0000552C 584F addq.w A7, 4
0000552E 6700 0116 beq +0x118 /* 00005646 */
00005532 486F 002E pea.l [A7 + 0x2E]
00005536 4EBA FB3C jsr [PC - 0x4C4 /* 00005074 */]
0000553A 3600 move.w D3, D0
0000553C 7800 moveq.l D4, 0x00
0000553E 4A43 tst.w D3
00005540 584F addq.w A7, 4
00005542 6604 bne +0x6 /* 00005548 */
00005544 91C8 sub.l A0, A0
00005546 600E bra +0x10 /* 00005556 */
label00005548:
00005548 594F subq.w A7, 4
0000554A 2F3C B653 7263 move.l -[A7], 0xB6537263
00005550 3F03 move.w -[A7], D3
00005552 A9A0 syscall GetResource
00005554 205F movea.l A0, [A7]+
label00005556:
00005556 2848 movea.l A4, A0
00005558 200C move.l D0, A4
0000555A 4A80 tst.l D0
0000555C 6700 00E8 beq +0xEA /* 00005646 */
00005560 52AF 002E addq.l [A7 + 0x2E], 1
00005564 486F 002E pea.l [A7 + 0x2E]
00005568 4EBA FB0A jsr [PC - 0x4F6 /* 00005074 */]
0000556C 3800 move.w D4, D0
0000556E 2054 movea.l A0, [A4]
00005570 D0C4 add.w A0, D4
00005572 2252 movea.l A1, [A2]
00005574 2348 007C move.l [A1 + 0x7C], A0
00005578 584F addq.w A7, 4
0000557A 6000 00CA bra +0xCC /* 00005646 */
0000557E 4857 pea.l [A7]
00005580 2F0B move.l -[A7], A3
00005582 4EBA F8E6 jsr [PC - 0x71A /* 00004E6A */]
00005586 4A00 tst.b D0
00005588 504F addq.w A7, 8
0000558A 6700 00BA beq +0xBC /* 00005646 */
0000558E 2052 movea.l A0, [A2]
00005590 43D7 lea.l A1, [A7]
00005592 41E8 0080 lea.l A0, [A0 + 0x80]
00005596 7012 moveq.l D0, 0x12
label00005598:
00005598 30D9 move.w [A0]+, [A1]+
0000559A 51C8 FFFC dbf D0, -0x6 /* 00005598 */
0000559E 6000 00A6 bra +0xA8 /* 00005646 */
000055A2 2052 movea.l A0, [A2]
000055A4 117C 0001 00A6 move.b [A0 + 0xA6], 0x1
000055AA 2F0B move.l -[A7], A3
000055AC 4EBA F6D0 jsr [PC - 0x930 /* 00004C7E */]
000055B0 2F48 0032 move.l [A7 + 0x32], A0
000055B4 2008 move.l D0, A0
000055B6 584F addq.w A7, 4
000055B8 6724 beq +0x26 /* 000055DE */
000055BA 486F 002E pea.l [A7 + 0x2E]
000055BE 4EBA FAB4 jsr [PC - 0x54C /* 00005074 */]
000055C2 2052 movea.l A0, [A2]
000055C4 3140 00AA move.w [A0 + 0xAA], D0
000055C8 52AF 0032 addq.l [A7 + 0x32], 1
000055CC 486F 0032 pea.l [A7 + 0x32]
000055D0 4EBA FAA2 jsr [PC - 0x55E /* 00005074 */]
000055D4 2052 movea.l A0, [A2]
000055D6 3140 00A8 move.w [A0 + 0xA8], D0
000055DA 504F addq.w A7, 8
000055DC 6068 bra +0x6A /* 00005646 */
label000055DE:
000055DE 2052 movea.l A0, [A2]
000055E0 317C FFFF 00AA move.w [A0 + 0xAA], 0xFFFF
000055E6 2052 movea.l A0, [A2]
000055E8 317C FFFF 00A8 move.w [A0 + 0xA8], 0xFFFF
000055EE 6056 bra +0x58 /* 00005646 */
000055F0 2F0B move.l -[A7], A3
000055F2 4EBA F68A jsr [PC - 0x976 /* 00004C7E */]
000055F6 2F48 0032 move.l [A7 + 0x32], A0
000055FA 2008 move.l D0, A0
000055FC 584F addq.w A7, 4
000055FE 6746 beq +0x48 /* 00005646 */
00005600 486F 002E pea.l [A7 + 0x2E]
00005604 4EBA FA6E jsr [PC - 0x592 /* 00005074 */]
00005608 3600 move.w D3, D0
0000560A 7800 moveq.l D4, 0x00
0000560C 4A43 tst.w D3
0000560E 584F addq.w A7, 4
00005610 6604 bne +0x6 /* 00005616 */
00005612 91C8 sub.l A0, A0
00005614 600E bra +0x10 /* 00005624 */
label00005616:
00005616 594F subq.w A7, 4
00005618 2F3C B649 6E66 move.l -[A7], 0xB6496E66
0000561E 3F03 move.w -[A7], D3
00005620 A9A0 syscall GetResource
00005622 205F movea.l A0, [A7]+
label00005624:
00005624 2848 movea.l A4, A0
00005626 200C move.l D0, A4
00005628 4A80 tst.l D0
0000562A 671A beq +0x1C /* 00005646 */
0000562C 52AF 002E addq.l [A7 + 0x2E], 1
00005630 486F 002E pea.l [A7 + 0x2E]
00005634 4EBA FA3E jsr [PC - 0x5C2 /* 00005074 */]
00005638 3800 move.w D4, D0
0000563A 2054 movea.l A0, [A4]
0000563C D0C4 add.w A0, D4
0000563E 2252 movea.l A1, [A2]
00005640 2348 00AC move.l [A1 + 0xAC], A0
00005644 584F addq.w A7, 4
label00005646:
00005646 2F0B move.l -[A7], A3
00005648 4EBA F5CA jsr [PC - 0xA36 /* 00004C14 */]
0000564C 2648 movea.l A3, A0
0000564E 2008 move.l D0, A0
00005650 4A80 tst.l D0
00005652 584F addq.w A7, 4
00005654 6600 FABA bne -0x544 /* 00005110 */
00005658 204A movea.l A0, A2
label0000565A:
0000565A 4FEF 0032 lea.l A7, [A7 + 0x32]
0000565E 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00005662 4E75 rts
fn00005664:
00005664 48E7 1030 movem.l -[A7], D3,A2,A3
00005668 5D4F subq.w A7, 6
0000566A 95CA sub.l A2, A2
0000566C 7600 moveq.l D3, 0x00
0000566E 42AF 0002 clr.l [A7 + 0x2]
00005672 97CB sub.l A3, A3
00005674 594F subq.w A7, 4
00005676 2F3C B653 6372 move.l -[A7], 0xB6536372
0000567C 3F2F 001E move.w -[A7], [A7 + 0x1E]
00005680 A9A0 syscall GetResource
00005682 205F movea.l A0, [A7]+
00005684 2648 movea.l A3, A0
00005686 554F subq.w A7, 2
00005688 A9AF syscall ResError
0000568A 301F move.w D0, [A7]+
0000568C 3600 move.w D3, D0
0000568E 4A43 tst.w D3
00005690 660A bne +0xC /* 0000569C */
00005692 200B move.l D0, A3
00005694 4A80 tst.l D0
00005696 6604 bne +0x6 /* 0000569C */
00005698 363C FF40 move.w D3, 0xFF40
label0000569C:
0000569C 4A43 tst.w D3
0000569E 661A bne +0x1C /* 000056BA */
000056A0 204B movea.l A0, A3
000056A2 A04A syscall HNoPurge
000056A4 594F subq.w A7, 4
000056A6 2F0B move.l -[A7], A3
000056A8 4EAD FEB8 jsr [A5 - 0x148]
000056AC 201F move.l D0, [A7]+
000056AE 2600 move.l D3, D0
000056B0 554F subq.w A7, 2
000056B2 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000056B6 301F move.w D0, [A7]+
000056B8 3600 move.w D3, D0
label000056BA:
000056BA 4A43 tst.w D3
000056BC 6610 bne +0x12 /* 000056CE */
000056BE 700A moveq.l D0, 0x0A
000056C0 A122 syscall NewHandle, flags=1
000056C2 2448 movea.l A2, A0
000056C4 554F subq.w A7, 2
000056C6 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000056CA 301F move.w D0, [A7]+
000056CC 3600 move.w D3, D0
label000056CE:
000056CE 4A43 tst.w D3
000056D0 6614 bne +0x16 /* 000056E6 */
000056D2 486F 0002 pea.l [A7 + 0x2]
000056D6 486F 0004 pea.l [A7 + 0x4]
000056DA 2F0B move.l -[A7], A3
000056DC 4EBA F7E2 jsr [PC - 0x81E /* 00004EC0 */]
000056E0 3600 move.w D3, D0
000056E2 4FEF 000C lea.l A7, [A7 + 0xC]
label000056E6:
000056E6 4A43 tst.w D3
000056E8 6612 bne +0x14 /* 000056FC */
000056EA 2052 movea.l A0, [A2]
000056EC 208B move.l [A0], A3
000056EE 2052 movea.l A0, [A2]
000056F0 3157 0004 move.w [A0 + 0x4], [A7]
000056F4 2052 movea.l A0, [A2]
000056F6 216F 0002 0006 move.l [A0 + 0x6], [A7 + 0x2]
label000056FC:
000056FC 4A43 tst.w D3
000056FE 671A beq +0x1C /* 0000571A */
00005700 4AAF 0002 tst.l [A7 + 0x2]
00005704 670A beq +0xC /* 00005710 */
00005706 206F 0002 movea.l A0, [A7 + 0x2]
0000570A A01F syscall DisposPtr/DisposePtr
0000570C 42AF 0002 clr.l [A7 + 0x2]
label00005710:
00005710 200A move.l D0, A2
00005712 6706 beq +0x8 /* 0000571A */
00005714 204A movea.l A0, A2
00005716 A023 syscall DisposHandle/DisposeHandle
00005718 95CA sub.l A2, A2
label0000571A:
0000571A 204A movea.l A0, A2
0000571C 5C4F addq.w A7, 6
0000571E 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00005722 4E75 rts
fn00005724:
00005724 2F0A move.l -[A7], A2
00005726 246F 0008 movea.l A2, [A7 + 0x8]
0000572A 2052 movea.l A0, [A2]
0000572C 4AA8 0006 tst.l [A0 + 0x6]
00005730 6708 beq +0xA /* 0000573A */
00005732 2052 movea.l A0, [A2]
00005734 2068 0006 movea.l A0, [A0 + 0x6]
00005738 A01F syscall DisposPtr/DisposePtr
label0000573A:
0000573A 204A movea.l A0, A2
0000573C A023 syscall DisposHandle/DisposeHandle
0000573E 245F movea.l A2, [A7]+
00005740 4E75 rts
fn00005742:
00005742 48E7 0018 movem.l -[A7], A3,A4
00005746 286F 0010 movea.l A4, [A7 + 0x10]
0000574A 266F 000C movea.l A3, [A7 + 0xC]
0000574E 226D F706 movea.l A1, [A5 - 0x8FA]
00005752 6026 bra +0x28 /* 0000577A */
label00005754:
00005754 2051 movea.l A0, [A1]
00005756 2028 0004 move.l D0, [A0 + 0x4]
0000575A B0AF 0014 cmp.l D0, [A7 + 0x14]
0000575E 6616 bne +0x18 /* 00005776 */
00005760 200C move.l D0, A4
00005762 6706 beq +0x8 /* 0000576A */
00005764 2051 movea.l A0, [A1]
00005766 28A8 0008 move.l [A4], [A0 + 0x8]
label0000576A:
0000576A 200B move.l D0, A3
0000576C 6712 beq +0x14 /* 00005780 */
0000576E 2051 movea.l A0, [A1]
00005770 26A8 000C move.l [A3], [A0 + 0xC]
00005774 600A bra +0xC /* 00005780 */
label00005776:
00005776 2051 movea.l A0, [A1]
00005778 2250 movea.l A1, [A0]
label0000577A:
0000577A 2009 move.l D0, A1
0000577C 4A80 tst.l D0
0000577E 66D4 bne -0x2A /* 00005754 */
label00005780:
00005780 2009 move.l D0, A1
00005782 4A80 tst.l D0
00005784 660C bne +0xE /* 00005792 */
00005786 200C move.l D0, A4
00005788 6702 beq +0x4 /* 0000578C */
0000578A 4294 clr.l [A4]
label0000578C:
0000578C 200B move.l D0, A3
0000578E 6702 beq +0x4 /* 00005792 */
00005790 4293 clr.l [A3]
label00005792:
00005792 4CDF 1800 movem.l A3,A4, [A7]+
00005796 205F movea.l A0, [A7]+
00005798 4FEF 000C lea.l A7, [A7 + 0xC]
0000579C 4ED0 jmp [A0]
0000579E 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
000057A2 282F 0020 move.l D4, [A7 + 0x20]
000057A6 286F 001C movea.l A4, [A7 + 0x1C]
000057AA 262F 0018 move.l D3, [A7 + 0x18]
000057AE 246D F706 movea.l A2, [A5 - 0x8FA]
000057B2 97CB sub.l A3, A3
000057B4 601C bra +0x1E /* 000057D2 */
label000057B6:
000057B6 2052 movea.l A0, [A2]
000057B8 B8A8 0004 cmp.l D4, [A0 + 0x4]
000057BC 660E bne +0x10 /* 000057CC */
000057BE 2052 movea.l A0, [A2]
000057C0 214C 0008 move.l [A0 + 0x8], A4
000057C4 2052 movea.l A0, [A2]
000057C6 2143 000C move.l [A0 + 0xC], D3
000057CA 600C bra +0xE /* 000057D8 */
label000057CC:
000057CC 264A movea.l A3, A2
000057CE 2052 movea.l A0, [A2]
000057D0 2450 movea.l A2, [A0]
label000057D2:
000057D2 200A move.l D0, A2
000057D4 4A80 tst.l D0
000057D6 66DE bne -0x20 /* 000057B6 */
label000057D8:
000057D8 200A move.l D0, A2
000057DA 4A80 tst.l D0
000057DC 662E bne +0x30 /* 0000580C */
000057DE 7010 moveq.l D0, 0x10
000057E0 A322 syscall NewHandleClear, flags=3
000057E2 2448 movea.l A2, A0
000057E4 200A move.l D0, A2
000057E6 4A80 tst.l D0
000057E8 6722 beq +0x24 /* 0000580C */
000057EA 2052 movea.l A0, [A2]
000057EC 2144 0004 move.l [A0 + 0x4], D4
000057F0 2052 movea.l A0, [A2]
000057F2 214C 0008 move.l [A0 + 0x8], A4
000057F6 2052 movea.l A0, [A2]
000057F8 2143 000C move.l [A0 + 0xC], D3
000057FC 200B move.l D0, A3
000057FE 4A80 tst.l D0
00005800 6606 bne +0x8 /* 00005808 */
00005802 2B4A F706 move.l [A5 - 0x8FA], A2
00005806 6004 bra +0x6 /* 0000580C */
label00005808:
00005808 2053 movea.l A0, [A3]
0000580A 208A move.l [A0], A2
label0000580C:
0000580C 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00005810 205F movea.l A0, [A7]+
00005812 4FEF 000C lea.l A7, [A7 + 0xC]
00005816 4ED0 jmp [A0]
00005818 48E7 0038 movem.l -[A7], A2,A3,A4
0000581C 286F 0018 movea.l A4, [A7 + 0x18]
00005820 266F 0014 movea.l A3, [A7 + 0x14]
00005824 246F 0010 movea.l A2, [A7 + 0x10]
00005828 200A move.l D0, A2
0000582A 4A80 tst.l D0
0000582C 6710 beq +0x12 /* 0000583E */
0000582E 41ED E8C2 lea.l A0, [A5 - 0x173E]
00005832 224A movea.l A1, A2
00005834 7000 moveq.l D0, 0x00
00005836 102D E8C2 move.b D0, [A5 - 0x173E]
0000583A 5280 addq.l D0, 1
0000583C A02E syscall BlockMove/BlockMoveData
label0000583E:
0000583E 200C move.l D0, A4
00005840 4A80 tst.l D0
00005842 6704 beq +0x6 /* 00005848 */
00005844 38AD E906 move.w [A4], [A5 - 0x16FA]
label00005848:
00005848 200B move.l D0, A3
0000584A 4A80 tst.l D0
0000584C 6704 beq +0x6 /* 00005852 */
0000584E 26AD E902 move.l [A3], [A5 - 0x16FE]
label00005852:
00005852 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00005856 205F movea.l A0, [A7]+
00005858 4FEF 000C lea.l A7, [A7 + 0xC]
0000585C 4ED0 jmp [A0]
0000585E 206F 0008 movea.l A0, [A7 + 0x8]
00005862 30AD F714 move.w [A0], [A5 - 0x8EC]
00005866 206F 0004 movea.l A0, [A7 + 0x4]
0000586A 20AD F710 move.l [A0], [A5 - 0x8F0]
0000586E 205F movea.l A0, [A7]+
00005870 504F addq.w A7, 8
00005872 4ED0 jmp [A0]
00005874 3B6F 0008 F714 move.w [A5 - 0x8EC], [A7 + 0x8]
0000587A 2B6F 0004 F710 move.l [A5 - 0x8F0], [A7 + 0x4]
00005880 205F movea.l A0, [A7]+
00005882 5C4F addq.w A7, 6
00005884 4ED0 jmp [A0]
00005886 206D F70C movea.l A0, [A5 - 0x8F4]
0000588A 2050 movea.l A0, [A0]
0000588C 41E8 0004 lea.l A0, [A0 + 0x4]
00005890 226F 0008 movea.l A1, [A7 + 0x8]
00005894 7020 moveq.l D0, 0x20
00005896 A02E syscall BlockMove/BlockMoveData
00005898 206D F70C movea.l A0, [A5 - 0x8F4]
0000589C 2050 movea.l A0, [A0]
0000589E 226F 0004 movea.l A1, [A7 + 0x4]
000058A2 32A8 0002 move.w [A1], [A0 + 0x2]
000058A6 205F movea.l A0, [A7]+
000058A8 504F addq.w A7, 8
000058AA 4ED0 jmp [A0]
000058AC 2F2F 0004 move.l -[A7], [A7 + 0x4]
000058B0 2F2F 000C move.l -[A7], [A7 + 0xC]
000058B4 3F2F 0014 move.w -[A7], [A7 + 0x14]
000058B8 2F2D F70C move.l -[A7], [A5 - 0x8F4]
000058BC 4EAD FC60 jsr [A5 - 0x3A0]
000058C0 4FEF 000E lea.l A7, [A7 + 0xE]
000058C4 205F movea.l A0, [A7]+
000058C6 4FEF 000A lea.l A7, [A7 + 0xA]
000058CA 4ED0 jmp [A0]
000058CC 206D F70C movea.l A0, [A5 - 0x8F4]
000058D0 2050 movea.l A0, [A0]
000058D2 226F 0004 movea.l A1, [A7 + 0x4]
000058D6 12A8 0001 move.b [A1], [A0 + 0x1]
000058DA 2E9F move.l [A7], [A7]+
000058DC 4E75 rts
000058DE 006D 0001 F70A ori.w [A5 - 0x8F6], 0x1
000058E4 206D F70C movea.l A0, [A5 - 0x8F4]
000058E8 2050 movea.l A0, [A0]
000058EA 4210 clr.b [A0]
000058EC 4E75 rts
000058EE 3F2F 0004 move.w -[A7], [A7 + 0x4]
000058F2 2F2D F70C move.l -[A7], [A5 - 0x8F4]
000058F6 4EAD FC68 jsr [A5 - 0x398]
000058FA 006D 0002 F70A ori.w [A5 - 0x8F6], 0x2
00005900 206D F70C movea.l A0, [A5 - 0x8F4]
00005904 2050 movea.l A0, [A0]
00005906 4210 clr.b [A0]
00005908 5C4F addq.w A7, 6
0000590A 205F movea.l A0, [A7]+
0000590C 544F addq.w A7, 2
0000590E 4ED0 jmp [A0]
00005910 1B7C 0001 E8C1 move.b [A5 - 0x173F], 0x1
00005916 006D 0004 F70A ori.w [A5 - 0x8F6], 0x4
0000591C 206D F70C movea.l A0, [A5 - 0x8F4]
00005920 2050 movea.l A0, [A0]
00005922 4210 clr.b [A0]
00005924 4E75 rts
00005926 1B7C 0001 E533 move.b [A5 - 0x1ACD], 0x1
0000592C 486D E4A8 pea.l [A5 - 0x1B58]
00005930 A851 syscall SetCursor
00005932 4E75 rts
00005934 422D E533 clr.b [A5 - 0x1ACD]
00005938 4E75 rts
fn0000593A:
0000593A 48E7 1030 movem.l -[A7], D3,A2,A3
0000593E 246F 0010 movea.l A2, [A7 + 0x10]
00005942 362F 0014 move.w D3, [A7 + 0x14]
00005946 200A move.l D0, A2
00005948 4A80 tst.l D0
0000594A 674A beq +0x4C /* 00005996 */
0000594C 2052 movea.l A0, [A2]
0000594E 0C50 0002 cmpi.w [A0], 0x2
00005952 6E42 bgt +0x44 /* 00005996 */
00005954 0C43 0001 cmpi.w D3, 0x1
00005958 6D3C blt +0x3E /* 00005996 */
0000595A 2052 movea.l A0, [A2]
0000595C B668 0002 cmp.w D3, [A0 + 0x2]
00005960 6E34 bgt +0x36 /* 00005996 */
00005962 594F subq.w A7, 4
00005964 2052 movea.l A0, [A2]
00005966 4868 0004 pea.l [A0 + 0x4]
0000596A 4EAD FF68 jsr [A5 - 0x98]
0000596E 205F movea.l A0, [A7]+
00005970 2648 movea.l A3, A0
00005972 244B movea.l A2, A3
00005974 6014 bra +0x16 /* 0000598A */
label00005976:
00005976 7000 moveq.l D0, 0x00
00005978 1012 move.b D0, [A2]
0000597A 5280 addq.l D0, 1
0000597C D5C0 add.l A2, D0
0000597E 70FE moveq.l D0, 0xFFFFFFFE
00005980 204A movea.l A0, A2
00005982 5288 addq.l A0, 1
00005984 2208 move.l D1, A0
00005986 C280 and.l D1, D0
00005988 2441 movea.l A2, D1
label0000598A:
0000598A 5343 subq.w D3, 1
0000598C 66E8 bne -0x16 /* 00005976 */
0000598E 204A movea.l A0, A2
00005990 91CB sub.l A0, A3
00005992 2008 move.l D0, A0
00005994 6002 bra +0x4 /* 00005998 */
label00005996:
00005996 70FF moveq.l D0, 0xFFFFFFFF
label00005998:
00005998 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000599C 4E75 rts
0000599E 3F7C 0002 0004 move.w [A7 + 0x4], 0x2
000059A4 4E75 rts
fn000059A6:
000059A6 2F03 move.l -[A7], D3
000059A8 594F subq.w A7, 4
000059AA 3F2F 0010 move.w -[A7], [A7 + 0x10]
000059AE 2F2D F6FE move.l -[A7], [A5 - 0x902]
000059B2 4EBA FF86 jsr [PC - 0x7A /* 0000593A */]
000059B6 2600 move.l D3, D0
000059B8 4A83 tst.l D3
000059BA 5C4F addq.w A7, 6
000059BC 6D2C blt +0x2E /* 000059EA */
000059BE 206D F6FE movea.l A0, [A5 - 0x902]
000059C2 2050 movea.l A0, [A0]
000059C4 5888 addq.l A0, 4
000059C6 7000 moveq.l D0, 0x00
000059C8 1030 3800 move.b D0, [A0 + D3]
000059CC 2E80 move.l [A7], D0
000059CE 206D F6FE movea.l A0, [A5 - 0x902]
000059D2 2250 movea.l A1, [A0]
000059D4 41F1 3804 lea.l A0, [A1 + D3 + 0x4]
000059D8 226F 000C movea.l A1, [A7 + 0xC]
000059DC 2017 move.l D0, [A7]
000059DE 5280 addq.l D0, 1
000059E0 A02E syscall BlockMove/BlockMoveData
000059E2 1F7C 0001 0012 move.b [A7 + 0x12], 0x1
000059E8 6004 bra +0x6 /* 000059EE */
label000059EA:
000059EA 422F 0012 clr.b [A7 + 0x12]
label000059EE:
000059EE 584F addq.w A7, 4
000059F0 261F move.l D3, [A7]+
000059F2 205F movea.l A0, [A7]+
000059F4 5C4F addq.w A7, 6
000059F6 4ED0 jmp [A0]
000059F8 48E7 1820 movem.l -[A7], D3,D4,A2
000059FC 246F 0010 movea.l A2, [A7 + 0x10]
00005A00 3F2F 0014 move.w -[A7], [A7 + 0x14]
00005A04 2F2D F6FE move.l -[A7], [A5 - 0x902]
00005A08 4EBA FF30 jsr [PC - 0xD0 /* 0000593A */]
00005A0C 2600 move.l D3, D0
00005A0E 4A83 tst.l D3
00005A10 5C4F addq.w A7, 6
00005A12 6F2E ble +0x30 /* 00005A42 */
00005A14 206D F6FE movea.l A0, [A5 - 0x902]
00005A18 2050 movea.l A0, [A0]
00005A1A 5888 addq.l A0, 4
00005A1C 7800 moveq.l D4, 0x00
00005A1E 1830 3800 move.b D4, [A0 + D3]
00005A22 2003 move.l D0, D3
00005A24 5280 addq.l D0, 1
00005A26 206D F6FE movea.l A0, [A5 - 0x902]
00005A2A 2250 movea.l A1, [A0]
00005A2C 41F1 0804 lea.l A0, [A1 + D0 + 0x4]
00005A30 224A movea.l A1, A2
00005A32 2004 move.l D0, D4
00005A34 A02E syscall BlockMove/BlockMoveData
00005A36 4232 4800 clr.b [A2 + D4]
00005A3A 1F7C 0001 0016 move.b [A7 + 0x16], 0x1
00005A40 6004 bra +0x6 /* 00005A46 */
label00005A42:
00005A42 422F 0016 clr.b [A7 + 0x16]
label00005A46:
00005A46 4CDF 0418 movem.l D3,D4,A2, [A7]+
00005A4A 205F movea.l A0, [A7]+
00005A4C 5C4F addq.w A7, 6
00005A4E 4ED0 jmp [A0]
00005A50 4FEF FEFC lea.l A7, [A7 - 0x104]
00005A54 554F subq.w A7, 2
00005A56 3F2F 010E move.w -[A7], [A7 + 0x10E]
00005A5A 486F 0004 pea.l [A7 + 0x4]
00005A5E 4EBA FF46 jsr [PC - 0xBA /* 000059A6 */]
00005A62 101F move.b D0, [A7]+
00005A64 6734 beq +0x36 /* 00005A9A */
00005A66 70FF moveq.l D0, 0xFFFFFFFF
00005A68 2F40 0100 move.l [A7 + 0x100], D0
00005A6C 4857 pea.l [A7]
00005A6E 486F 0104 pea.l [A7 + 0x104]
00005A72 4EAD FF58 jsr [A5 - 0xA8]
00005A76 0CAF FFFF 8000 0100 cmpi.l [A7 + 0x100], 0xFFFF8000
00005A7E 6D1A blt +0x1C /* 00005A9A */
00005A80 0CAF 0000 7FFF 0100 cmpi.l [A7 + 0x100], 0x7FFF
00005A88 6E10 bgt +0x12 /* 00005A9A */
00005A8A 206F 0108 movea.l A0, [A7 + 0x108]
00005A8E 30AF 0102 move.w [A0], [A7 + 0x102]
00005A92 1F7C 0001 010E move.b [A7 + 0x10E], 0x1
00005A98 6004 bra +0x6 /* 00005A9E */
label00005A9A:
00005A9A 422F 010E clr.b [A7 + 0x10E]
label00005A9E:
00005A9E 4FEF 0104 lea.l A7, [A7 + 0x104]
00005AA2 205F movea.l A0, [A7]+
00005AA4 5C4F addq.w A7, 6
00005AA6 4ED0 jmp [A0]
00005AA8 4FEF FEFC lea.l A7, [A7 - 0x104]
00005AAC 554F subq.w A7, 2
00005AAE 3F2F 010E move.w -[A7], [A7 + 0x10E]
00005AB2 486F 0008 pea.l [A7 + 0x8]
00005AB6 4EBA FEEE jsr [PC - 0x112 /* 000059A6 */]
00005ABA 101F move.b D0, [A7]+
00005ABC 6718 beq +0x1A /* 00005AD6 */
00005ABE 70FF moveq.l D0, 0xFFFFFFFF
00005AC0 2E80 move.l [A7], D0
00005AC2 486F 0004 pea.l [A7 + 0x4]
00005AC6 2F2F 010C move.l -[A7], [A7 + 0x10C]
00005ACA 4EAD FF58 jsr [A5 - 0xA8]
00005ACE 1F7C 0001 010E move.b [A7 + 0x10E], 0x1
00005AD4 6004 bra +0x6 /* 00005ADA */
label00005AD6:
00005AD6 422F 010E clr.b [A7 + 0x10E]
label00005ADA:
00005ADA 4FEF 0104 lea.l A7, [A7 + 0x104]
00005ADE 205F movea.l A0, [A7]+
00005AE0 5C4F addq.w A7, 6
00005AE2 4ED0 jmp [A0]
00005AE4 4FEF FF00 lea.l A7, [A7 - 0x100]
00005AE8 554F subq.w A7, 2
00005AEA 3F2F 010A move.w -[A7], [A7 + 0x10A]
00005AEE 486F 0004 pea.l [A7 + 0x4]
00005AF2 4EBA FEB2 jsr [PC - 0x14E /* 000059A6 */]
00005AF6 101F move.b D0, [A7]+
00005AF8 671A beq +0x1C /* 00005B14 */
00005AFA 0C17 0004 cmpi.b [A7], 0x4
00005AFE 6614 bne +0x16 /* 00005B14 */
00005B00 41EF 0001 lea.l A0, [A7 + 0x1]
00005B04 226F 0104 movea.l A1, [A7 + 0x104]
00005B08 7004 moveq.l D0, 0x04
00005B0A A02E syscall BlockMove/BlockMoveData
00005B0C 1F7C 0001 010A move.b [A7 + 0x10A], 0x1
00005B12 6004 bra +0x6 /* 00005B18 */
label00005B14:
00005B14 422F 010A clr.b [A7 + 0x10A]
label00005B18:
00005B18 4FEF 0100 lea.l A7, [A7 + 0x100]
00005B1C 205F movea.l A0, [A7]+
00005B1E 5C4F addq.w A7, 6
00005B20 4ED0 jmp [A0]
00005B22 3F3C 0007 move.w -[A7], 0x7
00005B26 4EAD FBA0 jsr [A5 - 0x460]
00005B2A 1F40 0006 move.b [A7 + 0x6], D0
00005B2E 544F addq.w A7, 2
00005B30 4E75 rts
00005B32 2F2F 0004 move.l -[A7], [A7 + 0x4]
00005B36 4EBA C7FC jsr [PC - 0x3804 /* 00002334 */]
00005B3A 584F addq.w A7, 4
00005B3C 2E9F move.l [A7], [A7]+
00005B3E 4E75 rts
00005B40 2F2F 0004 move.l -[A7], [A7 + 0x4]
00005B44 4EBA C80E jsr [PC - 0x37F2 /* 00002354 */]
00005B48 584F addq.w A7, 4
00005B4A 2E9F move.l [A7], [A7]+
00005B4C 4E75 rts
00005B4E 2F2F 0004 move.l -[A7], [A7 + 0x4]
00005B52 2F2F 000C move.l -[A7], [A7 + 0xC]
00005B56 3F2F 0014 move.w -[A7], [A7 + 0x14]
00005B5A 4EBA A966 jsr [PC - 0x569A /* 000004C2 */]
00005B5E 3F40 0018 move.w [A7 + 0x18], D0
00005B62 4FEF 000A lea.l A7, [A7 + 0xA]
00005B66 205F movea.l A0, [A7]+
00005B68 4FEF 000A lea.l A7, [A7 + 0xA]
00005B6C 4ED0 jmp [A0]
fn00005B6E:
00005B6E 48E7 1020 movem.l -[A7], D3,A2
00005B72 4A6D F41C tst.w [A5 - 0xBE4]
00005B76 6600 0258 bne +0x25A /* 00005DD0 */
00005B7A 7600 moveq.l D3, 0x00
00005B7C 6000 0240 bra +0x242 /* 00005DBE */
label00005B80:
00005B80 3443 movea.w A2, D3
00005B82 200A move.l D0, A2
00005B84 EB88 lsl D0, 5
00005B86 45ED F408 lea.l A2, [A5 - 0xBF8]
00005B8A D5C0 add.l A2, D0
00005B8C 45EA 0016 lea.l A2, [A2 + 0x16]
00005B90 34BC AAFE move.w [A2], 0xAAFE
00005B94 157C 0007 0002 move.b [A2 + 0x2], 0x7
00005B9A 422A 0003 clr.b [A2 + 0x3]
00005B9E 42AA 0004 clr.l [A2 + 0x4]
00005BA2 422A 0008 clr.b [A2 + 0x8]
00005BA6 422A 0009 clr.b [A2 + 0x9]
00005BAA 426A 000A clr.w [A2 + 0xA]
00005BAE 422A 0010 clr.b [A2 + 0x10]
00005BB2 422A 0011 clr.b [A2 + 0x11]
00005BB6 357C 0004 0012 move.w [A2 + 0x12], 0x4
00005BBC 42AA 0018 clr.l [A2 + 0x18]
00005BC0 42AA 001C clr.l [A2 + 0x1C]
00005BC4 3003 move.w D0, D3
00005BC6 48C0 ext.l D0
00005BC8 0C80 0000 0016 cmpi.l D0, 0x16
00005BCE 6200 01E4 bhi +0x1E6 /* 00005DB4 */
00005BD2 D040 add.w D0, D0
00005BD4 303B 0006 move.w D0, [PC + D0.w + 0x6]
00005BD8 4EFB 0002 jmp [PC + D0.w + 0x2]
00005BDC 002E 0042 0056 ori.b [A6 + 0x56], 0x42 /* 'B' */
00005BE2 006A 007E 0092 ori.w [A2 + 0x92], 0x7E /* '~' */
00005BE8 00A6 00BA 00CE ori.l -[A6], 0xBA00CE
00005BEE 00DE ori.? [A6]+, 0xFFFFFFFFFFFFFFFF
00005BF0 00F2 0102 0112 ori.? [[A2 + <<invalid base displacement size>> + D0] + 0x112], 0xFFFFFFFFFFFFFFFF
00005BF6 0122 btst -[A2], D0
00005BF8 0134 0148 btst [A4 + <<invalid base displacement size>>], D0
00005BFC 015C bchg [A4]+, D0
00005BFE 016E 0180 bchg [A6 + 0x180], D0
00005C02 0192 bclr [A2], D0
00005C04 01A2 bclr -[A2], D0
00005C06 01B4 01C6 bclr <<invalid full ext with IS == 1 and I/IS == 6>>, D0
00005C0A 257C 0000 0FC0 000C move.l [A2 + 0xC], 0xFC0
00005C12 41ED FD78 lea.l A0, [A5 - 0x288]
00005C16 2548 0014 move.l [A2 + 0x14], A0
00005C1A 6000 01A0 bra +0x1A2 /* 00005DBC */
00005C1E 257C 0000 0FC0 000C move.l [A2 + 0xC], 0xFC0
00005C26 41ED FD80 lea.l A0, [A5 - 0x280]
00005C2A 2548 0014 move.l [A2 + 0x14], A0
00005C2E 6000 018C bra +0x18E /* 00005DBC */
00005C32 257C 0000 0FC0 000C move.l [A2 + 0xC], 0xFC0
00005C3A 41ED FD88 lea.l A0, [A5 - 0x278]
00005C3E 2548 0014 move.l [A2 + 0x14], A0
00005C42 6000 0178 bra +0x17A /* 00005DBC */
00005C46 257C 0000 03C0 000C move.l [A2 + 0xC], 0x3C0
00005C4E 41ED FD90 lea.l A0, [A5 - 0x270]
00005C52 2548 0014 move.l [A2 + 0x14], A0
00005C56 6000 0164 bra +0x166 /* 00005DBC */
00005C5A 257C 0000 0380 000C move.l [A2 + 0xC], 0x380
00005C62 41ED FD98 lea.l A0, [A5 - 0x268]
00005C66 2548 0014 move.l [A2 + 0x14], A0
00005C6A 6000 0150 bra +0x152 /* 00005DBC */
00005C6E 257C 0000 03C0 000C move.l [A2 + 0xC], 0x3C0
00005C76 41ED FDA0 lea.l A0, [A5 - 0x260]
00005C7A 2548 0014 move.l [A2 + 0x14], A0
00005C7E 6000 013C bra +0x13E /* 00005DBC */
00005C82 257C 0000 0F80 000C move.l [A2 + 0xC], 0xF80
00005C8A 41ED FDA8 lea.l A0, [A5 - 0x258]
00005C8E 2548 0014 move.l [A2 + 0x14], A0
00005C92 6000 0128 bra +0x12A /* 00005DBC */
00005C96 257C 0000 00C0 000C move.l [A2 + 0xC], 0xC0
00005C9E 41ED FDB0 lea.l A0, [A5 - 0x250]
00005CA2 2548 0014 move.l [A2 + 0x14], A0
00005CA6 6000 0114 bra +0x116 /* 00005DBC */
00005CAA 42AA 000C clr.l [A2 + 0xC]
00005CAE 41ED FDB8 lea.l A0, [A5 - 0x248]
00005CB2 2548 0014 move.l [A2 + 0x14], A0
00005CB6 6000 0104 bra +0x106 /* 00005DBC */
00005CBA 257C 0000 0080 000C move.l [A2 + 0xC], 0x80
00005CC2 41ED FDC0 lea.l A0, [A5 - 0x240]
00005CC6 2548 0014 move.l [A2 + 0x14], A0
00005CCA 6000 00F0 bra +0xF2 /* 00005DBC */
00005CCE 42AA 000C clr.l [A2 + 0xC]
00005CD2 41ED FDC8 lea.l A0, [A5 - 0x238]
00005CD6 2548 0014 move.l [A2 + 0x14], A0
00005CDA 6000 00E0 bra +0xE2 /* 00005DBC */
00005CDE 42AA 000C clr.l [A2 + 0xC]
00005CE2 41ED FDD0 lea.l A0, [A5 - 0x230]
00005CE6 2548 0014 move.l [A2 + 0x14], A0
00005CEA 6000 00D0 bra +0xD2 /* 00005DBC */
00005CEE 42AA 000C clr.l [A2 + 0xC]
00005CF2 41ED FDD8 lea.l A0, [A5 - 0x228]
00005CF6 2548 0014 move.l [A2 + 0x14], A0
00005CFA 6000 00C0 bra +0xC2 /* 00005DBC */
00005CFE 7020 moveq.l D0, 0x20
00005D00 2540 000C move.l [A2 + 0xC], D0
00005D04 41ED FDE0 lea.l A0, [A5 - 0x220]
00005D08 2548 0014 move.l [A2 + 0x14], A0
00005D0C 6000 00AE bra +0xB0 /* 00005DBC */
00005D10 257C 0000 0390 000C move.l [A2 + 0xC], 0x390
00005D18 41ED FDE8 lea.l A0, [A5 - 0x218]
00005D1C 2548 0014 move.l [A2 + 0x14], A0
00005D20 6000 009A bra +0x9C /* 00005DBC */
00005D24 257C 0000 0390 000C move.l [A2 + 0xC], 0x390
00005D2C 41ED FDF0 lea.l A0, [A5 - 0x210]
00005D30 2548 0014 move.l [A2 + 0x14], A0
00005D34 6000 0086 bra +0x88 /* 00005DBC */
00005D38 257C 0000 0390 000C move.l [A2 + 0xC], 0x390
00005D40 41ED FDF8 lea.l A0, [A5 - 0x208]
00005D44 2548 0014 move.l [A2 + 0x14], A0
00005D48 6072 bra +0x74 /* 00005DBC */
00005D4A 257C 0000 0390 000C move.l [A2 + 0xC], 0x390
00005D52 41ED FE00 lea.l A0, [A5 - 0x200]
00005D56 2548 0014 move.l [A2 + 0x14], A0
00005D5A 6060 bra +0x62 /* 00005DBC */
00005D5C 257C 0000 0390 000C move.l [A2 + 0xC], 0x390
00005D64 41ED FE08 lea.l A0, [A5 - 0x1F8]
00005D68 2548 0014 move.l [A2 + 0x14], A0
00005D6C 604E bra +0x50 /* 00005DBC */
00005D6E 7010 moveq.l D0, 0x10
00005D70 2540 000C move.l [A2 + 0xC], D0
00005D74 41ED FE10 lea.l A0, [A5 - 0x1F0]
00005D78 2548 0014 move.l [A2 + 0x14], A0
00005D7C 603E bra +0x40 /* 00005DBC */
00005D7E 257C 0000 00C0 000C move.l [A2 + 0xC], 0xC0
00005D86 41ED FE18 lea.l A0, [A5 - 0x1E8]
00005D8A 2548 0014 move.l [A2 + 0x14], A0
00005D8E 602C bra +0x2E /* 00005DBC */
00005D90 257C 0000 00C0 000C move.l [A2 + 0xC], 0xC0
00005D98 41ED FE20 lea.l A0, [A5 - 0x1E0]
00005D9C 2548 0014 move.l [A2 + 0x14], A0
00005DA0 601A bra +0x1C /* 00005DBC */
00005DA2 257C 0000 0FA0 000C move.l [A2 + 0xC], 0xFA0
00005DAA 41ED FE28 lea.l A0, [A5 - 0x1D8]
00005DAE 2548 0014 move.l [A2 + 0x14], A0
00005DB2 6008 bra +0xA /* 00005DBC */
label00005DB4:
00005DB4 42AA 000C clr.l [A2 + 0xC]
00005DB8 42AA 0014 clr.l [A2 + 0x14]
label00005DBC:
00005DBC 5243 addq.w D3, 1
label00005DBE:
00005DBE 3003 move.w D0, D3
00005DC0 48C0 ext.l D0
00005DC2 7217 moveq.l D1, 0x17
00005DC4 B081 cmp.l D0, D1
00005DC6 6D00 FDB8 blt -0x246 /* 00005B80 */
00005DCA 3B7C 0017 F41C move.w [A5 - 0xBE4], 0x17
label00005DD0:
00005DD0 4CDF 0408 movem.l D3,A2, [A7]+
00005DD4 4E75 rts
fn00005DD6:
00005DD6 4E56 0000 link A6, 0
00005DDA 2F0C move.l -[A7], A4
00005DDC 3F2E 000C move.w -[A7], [A6 + 0xC]
00005DE0 2F2E 000E move.l -[A7], [A6 + 0xE]
00005DE4 286E 0008 movea.l A4, [A6 + 0x8]
00005DE8 4E94 jsr [A4]
00005DEA 285F movea.l A4, [A7]+
00005DEC 4E5E unlink A6
00005DEE 4E75 rts
fn00005DF0:
00005DF0 2F0A move.l -[A7], A2
00005DF2 554F subq.w A7, 2
00005DF4 246F 000A movea.l A2, [A7 + 0xA]
00005DF8 204A movea.l A0, A2
00005DFA A069 syscall HGetState
00005DFC 1F40 0001 move.b [A7 + 0x1], D0
00005E00 204A movea.l A0, A2
00005E02 A064 syscall MoveHHi
00005E04 204A movea.l A0, A2
00005E06 A029 syscall HLock
00005E08 4EBA FD64 jsr [PC - 0x29C /* 00005B6E */]
00005E0C 486D F408 pea.l [A5 - 0xBF8]
00005E10 3F2F 0012 move.w -[A7], [A7 + 0x12]
00005E14 594F subq.w A7, 4
00005E16 2F12 move.l -[A7], [A2]
00005E18 4EAD FF68 jsr [A5 - 0x98]
00005E1C 205F movea.l A0, [A7]+
00005E1E 2F08 move.l -[A7], A0
00005E20 4EBA FFB4 jsr [PC - 0x4C /* 00005DD6 */]
00005E24 204A movea.l A0, A2
00005E26 102F 000B move.b D0, [A7 + 0xB]
00005E2A A06A syscall HSetState
00005E2C 4FEF 000C lea.l A7, [A7 + 0xC]
00005E30 245F movea.l A2, [A7]+
00005E32 4E75 rts
fn00005E34:
00005E34 48E7 0030 movem.l -[A7], A2,A3
00005E38 246D F706 movea.l A2, [A5 - 0x8FA]
00005E3C 601A bra +0x1C /* 00005E58 */
label00005E3E:
00005E3E 2052 movea.l A0, [A2]
00005E40 2650 movea.l A3, [A0]
00005E42 2052 movea.l A0, [A2]
00005E44 4AA8 0008 tst.l [A0 + 0x8]
00005E48 6708 beq +0xA /* 00005E52 */
00005E4A 2052 movea.l A0, [A2]
00005E4C 2068 0008 movea.l A0, [A0 + 0x8]
00005E50 A023 syscall DisposHandle/DisposeHandle
label00005E52:
00005E52 204A movea.l A0, A2
00005E54 A023 syscall DisposHandle/DisposeHandle
00005E56 244B movea.l A2, A3
label00005E58:
00005E58 200A move.l D0, A2
00005E5A 4A80 tst.l D0
00005E5C 66E0 bne -0x1E /* 00005E3E */
00005E5E 42AD F706 clr.l [A5 - 0x8FA]
00005E62 4CDF 0C00 movem.l A2,A3, [A7]+
00005E66 4E75 rts
fn00005E68:
00005E68 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00005E6C 4FEF FFE0 lea.l A7, [A7 - 0x20]
00005E70 286F 0034 movea.l A4, [A7 + 0x34]
00005E74 266F 0038 movea.l A3, [A7 + 0x38]
00005E78 246F 003C movea.l A2, [A7 + 0x3C]
00005E7C 3B54 F714 move.w [A5 - 0x8EC], [A4]
00005E80 2B53 F710 move.l [A5 - 0x8F0], [A3]
00005E84 2B4A F70C move.l [A5 - 0x8F4], A2
00005E88 426D F70A clr.w [A5 - 0x8F6]
00005E8C 2052 movea.l A0, [A2]
00005E8E 41E8 0004 lea.l A0, [A0 + 0x4]
00005E92 43D7 lea.l A1, [A7]
00005E94 7020 moveq.l D0, 0x20
00005E96 A02E syscall BlockMove/BlockMoveData
00005E98 4EBA ABB2 jsr [PC - 0x544E /* 00000A4C */]
00005E9C 4A00 tst.b D0
00005E9E 6604 bne +0x6 /* 00005EA4 */
00005EA0 91C8 sub.l A0, A0
00005EA2 6010 bra +0x12 /* 00005EB4 */
label00005EA4:
00005EA4 594F subq.w A7, 4
00005EA6 2F3C 5852 6F7A move.l -[A7], 0x58526F7A /* 'XRoz' */
00005EAC 486F 0008 pea.l [A7 + 0x8]
00005EB0 A9A1 syscall GetNamedResource
00005EB2 205F movea.l A0, [A7]+
label00005EB4:
00005EB4 2B48 F702 move.l [A5 - 0x8FE], A0
00005EB8 B0FC 0000 cmpa.w A0, 0x0
00005EBC 6614 bne +0x16 /* 00005ED2 */
00005EBE 594F subq.w A7, 4
00005EC0 2F3C 5852 6179 move.l -[A7], 0x58526179 /* 'XRay' */
00005EC6 486F 0008 pea.l [A7 + 0x8]
00005ECA A9A1 syscall GetNamedResource
00005ECC 205F movea.l A0, [A7]+
00005ECE 2B48 F702 move.l [A5 - 0x8FE], A0
label00005ED2:
00005ED2 4AAD F702 tst.l [A5 - 0x8FE]
00005ED6 6724 beq +0x26 /* 00005EFC */
00005ED8 2052 movea.l A0, [A2]
00005EDA 4A68 006A tst.w [A0 + 0x6A]
00005EDE 6718 beq +0x1A /* 00005EF8 */
00005EE0 594F subq.w A7, 4
00005EE2 2F3C 5850 6172 move.l -[A7], 0x58506172 /* 'XPar' */
00005EE8 2052 movea.l A0, [A2]
00005EEA 3F28 006A move.w -[A7], [A0 + 0x6A]
00005EEE A9A0 syscall GetResource
00005EF0 205F movea.l A0, [A7]+
00005EF2 2B48 F6FE move.l [A5 - 0x902], A0
00005EF6 6004 bra +0x6 /* 00005EFC */
label00005EF8:
00005EF8 42AD F6FE clr.l [A5 - 0x902]
label00005EFC:
00005EFC 4AAD F702 tst.l [A5 - 0x8FE]
00005F00 6728 beq +0x2A /* 00005F2A */
00005F02 554F subq.w A7, 2
00005F04 A994 syscall CurResFile
00005F06 301F move.w D0, [A7]+
00005F08 3600 move.w D3, D0
00005F0A 554F subq.w A7, 2
00005F0C 2F2D F702 move.l -[A7], [A5 - 0x8FE]
00005F10 A9A4 syscall HomeResFile
00005F12 301F move.w D0, [A7]+
00005F14 3F00 move.w -[A7], D0
00005F16 A998 syscall UseResFile
00005F18 3F3C 0003 move.w -[A7], 0x3
00005F1C 2F2D F702 move.l -[A7], [A5 - 0x8FE]
00005F20 4EBA FECE jsr [PC - 0x132 /* 00005DF0 */]
00005F24 3F03 move.w -[A7], D3
00005F26 A998 syscall UseResFile
00005F28 5C4F addq.w A7, 6
label00005F2A:
00005F2A 422D E533 clr.b [A5 - 0x1ACD]
00005F2E 38AD F714 move.w [A4], [A5 - 0x8EC]
00005F32 26AD F710 move.l [A3], [A5 - 0x8F0]
00005F36 302D F70A move.w D0, [A5 - 0x8F6]
00005F3A 4FEF 0020 lea.l A7, [A7 + 0x20]
00005F3E 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00005F42 4E75 rts
fn00005F44:
00005F44 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00005F48 286F 0018 movea.l A4, [A7 + 0x18]
00005F4C 266F 001C movea.l A3, [A7 + 0x1C]
00005F50 246F 0024 movea.l A2, [A7 + 0x24]
00005F54 3B54 F714 move.w [A5 - 0x8EC], [A4]
00005F58 2B53 F710 move.l [A5 - 0x8F0], [A3]
00005F5C 2B6F 0020 F70C move.l [A5 - 0x8F4], [A7 + 0x20]
00005F62 426D F70A clr.w [A5 - 0x8F6]
00005F66 200A move.l D0, A2
00005F68 4A80 tst.l D0
00005F6A 6754 beq +0x56 /* 00005FC0 */
00005F6C 7600 moveq.l D3, 0x00
00005F6E 6044 bra +0x46 /* 00005FB4 */
label00005F70:
00005F70 2003 move.l D0, D3
00005F72 E788 lsl D0, 3
00005F74 2B72 0800 F702 move.l [A5 - 0x8FE], [A2 + D0]
00005F7A 4AAD F702 tst.l [A5 - 0x8FE]
00005F7E 6732 beq +0x34 /* 00005FB2 */
00005F80 554F subq.w A7, 2
00005F82 A994 syscall CurResFile
00005F84 301F move.w D0, [A7]+
00005F86 3800 move.w D4, D0
00005F88 554F subq.w A7, 2
00005F8A 2F2D F702 move.l -[A7], [A5 - 0x8FE]
00005F8E A9A4 syscall HomeResFile
00005F90 301F move.w D0, [A7]+
00005F92 3F00 move.w -[A7], D0
00005F94 A998 syscall UseResFile
00005F96 2003 move.l D0, D3
00005F98 E788 lsl D0, 3
00005F9A 2B72 0804 F6FE move.l [A5 - 0x902], [A2 + D0 + 0x4]
00005FA0 3F2F 002C move.w -[A7], [A7 + 0x2C]
00005FA4 2F2D F702 move.l -[A7], [A5 - 0x8FE]
00005FA8 4EBA FE46 jsr [PC - 0x1BA /* 00005DF0 */]
00005FAC 3F04 move.w -[A7], D4
00005FAE A998 syscall UseResFile
00005FB0 5C4F addq.w A7, 6
label00005FB2:
00005FB2 5283 addq.l D3, 1
label00005FB4:
00005FB4 4A6D F70A tst.w [A5 - 0x8F6]
00005FB8 6606 bne +0x8 /* 00005FC0 */
00005FBA B6AF 0028 cmp.l D3, [A7 + 0x28]
00005FBE 6DB0 blt -0x4E /* 00005F70 */
label00005FC0:
00005FC0 422D E533 clr.b [A5 - 0x1ACD]
00005FC4 38AD F714 move.w [A4], [A5 - 0x8EC]
00005FC8 26AD F710 move.l [A3], [A5 - 0x8F0]
00005FCC 302D F70A move.w D0, [A5 - 0x8F6]
00005FD0 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00005FD4 4E75 rts
00005FD6 0000 0000 ori.b D0, 0x0
00005FDA 0000 0000 ori.b D0, 0x0
00005FDE 0000 0000 ori.b D0, 0x0